aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/demo/e-test-model.h
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-05-02 07:51:27 +0800
committernobody <nobody@localhost>2000-05-02 07:51:27 +0800
commit7882fd81661586ecf3a33e725fef29d7c6657dc9 (patch)
tree02764133d670788239da089583f787e455be8439 /addressbook/demo/e-test-model.h
parent46a917144878351adb2db43ab27179a271a03d7d (diff)
downloadgsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar.gz
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar.bz2
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar.lz
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar.xz
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.tar.zst
gsoc2013-evolution-7882fd81661586ecf3a33e725fef29d7c6657dc9.zip
This commit was manufactured by cvs2svn to create tag 'GTKHTML_0_2'.GTKHTML_0_2
svn path=/tags/GTKHTML_0_2/; revision=2738
Diffstat (limited to 'addressbook/demo/e-test-model.h')
-rw-r--r--addressbook/demo/e-test-model.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/addressbook/demo/e-test-model.h b/addressbook/demo/e-test-model.h
deleted file mode 100644
index 871ea11de8..0000000000
--- a/addressbook/demo/e-test-model.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-#ifndef _E_TEST_MODEL_H_
-#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))
-#define E_TEST_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TEST_MODEL_TYPE, ETestModelClass))
-#define E_IS_TEST_MODEL(o) (GTK_CHECK_TYPE ((o), E_TEST_MODEL_TYPE))
-#define E_IS_TEST_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TEST_MODEL_TYPE))
-
-/* Virtual Column list:
- 0 Email
- 1 Full Name
- 2 Street
- 3 Phone
-*/
-typedef struct _Address Address;
-typedef enum _Rows Rows;
-
-struct _Address {
- gchar *email;
- gchar *full_name;
- gchar *street;
- gchar *phone;
-};
-
-enum _Rows {
- EMAIL,
- FULL_NAME,
- STREET,
- PHONE,
- LAST_COL
-};
-
-typedef struct {
- ETableModel parent;
-
- EBook *book;
-
- EBookView *book_view;
-
- ECard **data;
- int data_count;
-
- char *uri;
-} ETestModel;
-
-
-typedef struct {
- ETableModelClass parent_class;
-} ETestModelClass;
-
-
-GtkType e_test_model_get_type (void);
-ETableModel *e_test_model_new (char *uri);
-
-void e_test_model_add_column (ETestModel *model, Address *newadd);
-
-#endif /* _E_TEST_MODEL_H_ */