|
Revision 2825
(checked in by pvanhoof, 1 year ago)
|
- Changed the address of FSF in the copyright notes
|
| Line | |
|---|
| 1 |
#ifndef TNY_GTK_ACCOUNT_LIST_MODEL_ITERATOR_H |
|---|
| 2 |
#define TNY_GTK_ACCOUNT_LIST_MODEL_ITERATOR_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <glib.h> |
|---|
| 24 |
#include <glib-object.h> |
|---|
| 25 |
|
|---|
| 26 |
#include <tny-shared.h> |
|---|
| 27 |
#include <tny-list.h> |
|---|
| 28 |
#include <tny-iterator.h> |
|---|
| 29 |
|
|---|
| 30 |
G_BEGIN_DECLS |
|---|
| 31 |
|
|---|
| 32 |
#define TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR (_tny_gtk_account_list_model_iterator_get_type ()) |
|---|
| 33 |
#define TNY_GTK_ACCOUNT_LIST_MODEL_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR, TnyGtkAccountListModelIterator)) |
|---|
| 34 |
#define TNY_GTK_ACCOUNT_LIST_MODEL_ITERATOR_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR, TnyGtkAccountListModelIteratorClass)) |
|---|
| 35 |
#define TNY_IS_GTK_ACCOUNT_LIST_MODEL_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR)) |
|---|
| 36 |
#define TNY_IS_GTK_ACCOUNT_LIST_MODEL_ITERATOR_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR)) |
|---|
| 37 |
#define TNY_GTK_ACCOUNT_LIST_MODEL_ITERATOR_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GTK_ACCOUNT_LIST_MODEL_ITERATOR, TnyGtkAccountListModelIteratorClass)) |
|---|
| 38 |
|
|---|
| 39 |
typedef struct _TnyGtkAccountListModelIterator TnyGtkAccountListModelIterator; |
|---|
| 40 |
typedef struct _TnyGtkAccountListModelIteratorClass TnyGtkAccountListModelIteratorClass; |
|---|
| 41 |
|
|---|
| 42 |
struct _TnyGtkAccountListModelIterator |
|---|
| 43 |
{ |
|---|
| 44 |
GObject parent; |
|---|
| 45 |
TnyGtkAccountListModel *model; |
|---|
| 46 |
GList *current; |
|---|
| 47 |
}; |
|---|
| 48 |
|
|---|
| 49 |
struct _TnyGtkAccountListModelIteratorClass |
|---|
| 50 |
{ |
|---|
| 51 |
GObjectClass parent; |
|---|
| 52 |
}; |
|---|
| 53 |
|
|---|
| 54 |
void _tny_gtk_account_list_model_iterator_set_model (TnyGtkAccountListModelIterator *self, TnyGtkAccountListModel *model); |
|---|
| 55 |
TnyIterator* _tny_gtk_account_list_model_iterator_new (TnyGtkAccountListModel *model); |
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
G_END_DECLS |
|---|
| 59 |
|
|---|
| 60 |
#endif |
|---|
| 61 |
|
|---|