aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-book-listener.h
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-03-29 08:30:07 +0800
committernobody <nobody@localhost>2000-03-29 08:30:07 +0800
commit3fc9f9098ded4a46c8f4f13f39e5b29c4139388f (patch)
tree828b9805c964e1d00a9ba6be3c1dc64f78be9523 /addressbook/backend/ebook/e-book-listener.h
parentbce1144ad7cd318cb193eb39aecc42cf8a87358e (diff)
downloadgsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar.gz
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar.bz2
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar.lz
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar.xz
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.tar.zst
gsoc2013-evolution-3fc9f9098ded4a46c8f4f13f39e5b29c4139388f.zip
This commit was manufactured by cvs2svn to create tag 'MC_4_5_44'.MC_4_5_44
svn path=/tags/MC_4_5_44/; revision=2228
Diffstat (limited to 'addressbook/backend/ebook/e-book-listener.h')
-rw-r--r--addressbook/backend/ebook/e-book-listener.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/addressbook/backend/ebook/e-book-listener.h b/addressbook/backend/ebook/e-book-listener.h
deleted file mode 100644
index 27dd0df10f..0000000000
--- a/addressbook/backend/ebook/e-book-listener.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * A client-side GtkObject which exposes the
- * Evolution:BookListener interface.
- *
- * Author:
- * Nat Friedman (nat@helixcode.com)
- *
- * Copyright 2000, Helix Code, Inc.
- */
-
-#ifndef __E_BOOK_LISTENER_H__
-#define __E_BOOK_LISTENER_H__
-
-#include <libgnome/gnome-defs.h>
-#include <bonobo/bonobo-object.h>
-#include <e-book.h>
-#include <addressbook.h>
-
-BEGIN_GNOME_DECLS
-
-typedef struct _EBookListenerPrivate EBookListenerPrivate;
-
-typedef struct {
- BonoboObject parent;
- EBookListenerPrivate *priv;
-} EBookListener;
-
-typedef struct {
- BonoboObjectClass parent;
-
- /*
- * Signals
- */
- void (*responses_queued) (void);
-} EBookListenerClass;
-
-typedef enum {
- /* Async responses */
- OpenBookResponse,
- CreateCardResponse,
- RemoveCardResponse,
- ModifyCardResponse,
- GetCursorResponse,
-
- /* Async events */
- CardAddedEvent,
- CardRemovedEvent,
- CardModifiedEvent,
- LinkStatusEvent,
- OpenProgressEvent,
-} EBookListenerOperation;
-
-typedef struct {
- EBookListenerOperation op;
-
- /* For most Response notifications */
- EBookStatus status;
-
- /* For OpenBookResponse */
- Evolution_Book book;
-
- /* For GetCursorResponse */
- Evolution_CardCursor cursor;
-
- /* For OpenProgressEvent */
- char *msg;
- short percent;
-
- /* For LinkStatusEvent */
- gboolean connected;
-
- /* For Card[Added|Removed|Modified]Event */
- char *id;
-} EBookListenerResponse;
-
-EBookListener *e_book_listener_new (EBook *book);
-EBook *e_book_listener_get_book (EBookListener *listener);
-int e_book_listener_check_pending (EBookListener *listener);
-EBookListenerResponse *e_book_listener_pop_response (EBookListener *listener);
-GtkType e_book_listener_get_type (void);
-
-POA_Evolution_BookListener__epv *e_book_listener_get_epv (void);
-
-#define E_BOOK_LISTENER_TYPE (e_book_listener_get_type ())
-#define E_BOOK_LISTENER(o) (GTK_CHECK_CAST ((o), E_BOOK_LISTENER_TYPE, EBookListener))
-#define E_BOOK_LISTENER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_BOOK_LISTENER_TYPE, EBookListenerClass))
-#define E_IS_BOOK_LISTENER(o) (GTK_CHECK_TYPE ((o), E_BOOK_LISTENER_TYPE))
-#define E_IS_BOOK_LISTENER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_BOOK_LISTENER_TYPE))
-
-END_GNOME_DECLS
-
-#endif /* ! __E_BOOK_LISTENER_H__ */