diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-04-03 23:03:56 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-04-03 23:03:56 +0800 |
commit | a15df79e225ed290978c0650bc2a193086444707 (patch) | |
tree | eec11ece68e526c9b76a05198104a671b04a85da /addressbook/backend/ebook/e-book-view.h | |
parent | 9e7dabfa8274777916da364b50284cfa51ac9a6f (diff) | |
download | gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar.gz gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar.bz2 gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar.lz gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar.xz gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.tar.zst gsoc2013-evolution-a15df79e225ed290978c0650bc2a193086444707.zip |
A bit of clean up.
2000-04-03 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card-cursor.h,
addressbook/backend/ebook/e-card.c: A bit of clean up.
* addressbook/backend/ebook/e-book-types.h,
addressbook/backend/ebook/e-book-view-listener.c,
addressbook/backend/ebook/e-book-view-listener.h,
addressbook/backend/ebook/e-book-view.c,
addressbook/backend/ebook/e-book-view.h,
addressbook/backend/pas/pas-book-view.c,
addressbook/backend/pas/pas-book-view.h: New files for live views.
* addressbook/backend/ebook/Makefile.am,
addressbook/backend/ebook/e-book-listener.c,
addressbook/backend/ebook/e-book-listener.h,
addressbook/backend/ebook/e-book.c,
addressbook/backend/ebook/e-book.h,
addressbook/backend/ebook/test-client-list.c,
addressbook/backend/ebook/test-client.c,
addressbook/backend/pas/pas-backend-file.c,
addressbook/backend/pas/pas-book.c,
addressbook/backend/pas/pas-book.h,
addressbook/backend/idl/addressbook.idl: Added live views and
searching to the interface (neither is working yet.)
svn path=/trunk/; revision=2280
Diffstat (limited to 'addressbook/backend/ebook/e-book-view.h')
-rw-r--r-- | addressbook/backend/ebook/e-book-view.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book-view.h b/addressbook/backend/ebook/e-book-view.h new file mode 100644 index 0000000000..bb042e76f0 --- /dev/null +++ b/addressbook/backend/ebook/e-book-view.h @@ -0,0 +1,55 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * The Evolution addressbook client object. + * + * Author: + * Nat Friedman (nat@helixcode.com) + * + * Copyright 1999, 2000, Helix Code, Inc. + */ + +#ifndef __E_BOOK_VIEW_H__ +#define __E_BOOK_VIEW_H__ + +#include <libgnome/gnome-defs.h> + +#include <e-card.h> +#include <e-book-view-listener.h> + +BEGIN_GNOME_DECLS + +typedef struct _EBookView EBookView; +typedef struct _EBookViewClass EBookViewClass; +typedef struct _EBookViewPrivate EBookViewPrivate; + +struct _EBookView { + GtkObject parent; + EBookViewPrivate *priv; +}; + +struct _EBookViewClass { + GtkObjectClass parent; + + /* + * Signals. + */ + void (* card_changed) (const GList *id); + void (* card_removed) (const char *id); + void (* card_added) (const GList *id); +}; + +/* Creating a new addressbook. */ +EBookView *e_book_view_new (Evolution_BookView corba_book_view, EBookViewListener *listener); + +GtkType e_book_view_get_type (void); +void e_book_view_get_book_view_listener (EBookView *book_view); + +#define E_BOOK_VIEW_TYPE (e_book_view_get_type ()) +#define E_BOOK_VIEW(o) (GTK_CHECK_CAST ((o), E_BOOK_VIEW_TYPE, EBookView)) +#define E_BOOK_VIEW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_BOOK_VIEW_TYPE, EBookViewClass)) +#define E_IS_BOOK_VIEW(o) (GTK_CHECK_TYPE ((o), E_BOOK_VIEW_TYPE)) +#define E_IS_BOOK_VIEW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_BOOK_VIEW_TYPE)) + +END_GNOME_DECLS + +#endif /* ! __E_BOOK_VIEW_H__ */ |