plugins/gevolution/gevolution.h

changeset 9354
9be1e9ab1f21
parent 9046
7892b6524178
child 9566
9253ccd670ed
equal deleted inserted replaced
9353:ff6546387358 9354:9be1e9ab1f21
23 23
24 #ifdef HAVE_CONFIG_H 24 #ifdef HAVE_CONFIG_H
25 # include "config.h" 25 # include "config.h"
26 #endif 26 #endif
27 27
28 #define EBOOK_CHECK_VERSION(major, minor, micro) \
29 (LIBEBOOK_MAJOR_VER > (major) || \
30 (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER > (minor)) || \
31 (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER == (minor) && \
32 LIBEBOOK_MICRO_VER >= (micro)))
33
28 #include <libebook/e-book.h> 34 #include <libebook/e-book.h>
35
36 #if !EBOOK_CHECK_VERSION(0, 0, 95)
37 # include <libebook/e-book-async.h>
38 #endif
29 39
30 typedef struct 40 typedef struct
31 { 41 {
32 GaimAccount *account; 42 GaimAccount *account;
33 char *username; 43 char *username;
85 95
86 GList *contacts; 96 GList *contacts;
87 97
88 } GevoAssociateBuddyDialog; 98 } GevoAssociateBuddyDialog;
89 99
90 #define EBOOK_CHECK_VERSION(major, minor, micro) \
91 (LIBEBOOK_MAJOR_VER > (major) || \
92 (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER > (minor)) || \
93 (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER == (minor) && \
94 LIBEBOOK_MICRO_VER >= (micro)))
95
96 void gevo_add_buddy_dialog_show(GaimAccount *account, const char *username, 100 void gevo_add_buddy_dialog_show(GaimAccount *account, const char *username,
97 const char *group, const char *alias); 101 const char *group, const char *alias);
98 void gevo_add_buddy_dialog_add_person(GevoAddBuddyDialog *dialog, 102 void gevo_add_buddy_dialog_add_person(GevoAddBuddyDialog *dialog,
99 EContact *contact, 103 EContact *contact,
100 const char *name, GaimAccount *account, 104 const char *name, GaimAccount *account,

mercurial