aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/demo/e-test-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-05 04:58:46 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-05 04:58:46 +0800
commitd8db781adee587ed1fc5b948a68d1d0a7c2952c2 (patch)
treee2003adb7f8e6dbf4ec917adf95c7f594113ce39 /addressbook/demo/e-test-model.h
parent2d75a701029288c953a84ba0a696675f5a7eb77f (diff)
downloadgsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar.gz
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar.bz2
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar.lz
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar.xz
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.tar.zst
gsoc2013-evolution-d8db781adee587ed1fc5b948a68d1d0a7c2952c2.zip
Changed this to backend to an ebook.
2000-04-04 Christopher James Lahey <clahey@helixcode.com> * addressbook/demo/e-test-model.c, addressbook/demo/e-test-model.h, addressbook/demo/Makefile.am: Changed this to backend to an ebook. * addressbook/backend/ebook/e-card-iterator.c, addressbook/backend/ebook/e-card-iterator.h, addressbook/backend/ebook/e-card-list-iterator.c, addressbook/backend/ebook/e-card-list.c, addressbook/backend/ebook/e-card-list.h, addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Fixed const correctness and changed a couple of functions to be external. * addressbook/Makefile.am: Fixed subdir ordering. svn path=/trunk/; revision=2287
Diffstat (limited to 'addressbook/demo/e-test-model.h')
-rw-r--r--addressbook/demo/e-test-model.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/addressbook/demo/e-test-model.h b/addressbook/demo/e-test-model.h
index dd3f8e0fa9..871ea11de8 100644
--- a/addressbook/demo/e-test-model.h
+++ b/addressbook/demo/e-test-model.h
@@ -3,6 +3,9 @@
#define _E_TEST_MODEL_H_
#include "e-table-model.h"
+#include <e-book.h>
+#include <e-book-view.h>
+#include <e-card.h>
#define E_TEST_MODEL_TYPE (e_test_model_get_type ())
#define E_TEST_MODEL(o) (GTK_CHECK_CAST ((o), E_TEST_MODEL_TYPE, ETestModel))
@@ -19,7 +22,6 @@
typedef struct _Address Address;
typedef enum _Rows Rows;
-
struct _Address {
gchar *email;
gchar *full_name;
@@ -35,16 +37,17 @@ enum _Rows {
LAST_COL
};
-
-
typedef struct {
ETableModel parent;
- Address **data;
+ EBook *book;
+
+ EBookView *book_view;
+
+ ECard **data;
int data_count;
- char *filename;
- int idle;
+ char *uri;
} ETestModel;
@@ -54,11 +57,8 @@ typedef struct {
GtkType e_test_model_get_type (void);
-ETableModel *e_test_model_new (char *filename);
+ETableModel *e_test_model_new (char *uri);
-void e_test_model_queue_save(ETestModel *model);
void e_test_model_add_column (ETestModel *model, Address *newadd);
-
#endif /* _E_TEST_MODEL_H_ */
-