diff options
author | nobody <nobody@localhost> | 2001-03-02 09:33:29 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-03-02 09:33:29 +0800 |
commit | 0f0cc6c488ee2ba9a9c4f2d9bfc41996dfedf9fd (patch) | |
tree | cda39502324bf50b451e5c7f58e5dee7c7476bad /addressbook/gui/widgets/e-addressbook-model.h | |
parent | 50ef074887b43f43dad3edb120d9abf30092c681 (diff) | |
download | gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar.gz gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar.bz2 gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar.lz gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar.xz gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.tar.zst gsoc2013-evolution-GNOME-VFS_1_0_ANCHOR.zip |
This commit was manufactured by cvs2svn to create tagGNOME-VFS_1_0_ANCHOR
'GNOME-VFS_1_0_ANCHOR'.
svn path=/tags/GNOME-VFS_1_0_ANCHOR/; revision=8487
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.h')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h deleted file mode 100644 index 79a606b314..0000000000 --- a/addressbook/gui/widgets/e-addressbook-model.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -#ifndef _E_ADDRESSBOOK_MODEL_H_ -#define _E_ADDRESSBOOK_MODEL_H_ - -#include <gal/e-table/e-table-model.h> -#include "addressbook/backend/ebook/e-book.h" -#include "addressbook/backend/ebook/e-book-view.h" -#include "addressbook/backend/ebook/e-card-simple.h" - -#define E_ADDRESSBOOK_MODEL_TYPE (e_addressbook_model_get_type ()) -#define E_ADDRESSBOOK_MODEL(o) (GTK_CHECK_CAST ((o), E_ADDRESSBOOK_MODEL_TYPE, EAddressbookModel)) -#define E_ADDRESSBOOK_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_ADDRESSBOOK_MODEL_TYPE, EAddressbookModelClass)) -#define E_IS_ADDRESSBOOK_MODEL(o) (GTK_CHECK_TYPE ((o), E_ADDRESSBOOK_MODEL_TYPE)) -#define E_IS_ADDRESSBOOK_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_ADDRESSBOOK_MODEL_TYPE)) - -/* Virtual Column list: - 0 Email - 1 Full Name - 2 Street - 3 Phone -*/ - -typedef struct _EAddressbookModel EAddressbookModel; -typedef struct _EAddressbookModelClass EAddressbookModelClass; - -struct _EAddressbookModel { - ETableModel parent; - - /* item specific fields */ - EBook *book; - char *query; - EBookView *book_view; - - int get_view_idle; - - ECardSimple **data; - int data_count; - - int create_card_id, remove_card_id, modify_card_id, status_message_id; - - guint editable : 1; - guint first_get_view : 1; -}; - - -struct _EAddressbookModelClass { - ETableModelClass parent_class; - - /* - * Signals - */ - void (*status_message) (EAddressbookModel *model, const gchar *message); -}; - - -GtkType e_addressbook_model_get_type (void); -ETableModel *e_addressbook_model_new (void); - -/* Returns object with ref count of 1. */ -ECard *e_addressbook_model_get_card(EAddressbookModel *model, - int row); -void e_addressbook_model_stop (EAddressbookModel *model); - -#endif /* _E_ADDRESSBOOK_MODEL_H_ */ |