comparison plugins/gevolution/gevolution.h @ 9046:c307cf4c84d2

[gaim-migrate @ 9822] The gevolution plugin should now compile with both the previous release of Evolution/e-d-s and with e-d-s CVS. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 23 May 2004 22:43:37 +0000
parents 35db601609e3
children a5ec9e73f46d
comparison
equal deleted inserted replaced
9045:38d022e5eb19 9046:c307cf4c84d2
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 * 02111-1307, USA. 19 * 02111-1307, USA.
20 */ 20 */
21 #ifndef _GEVOLUTION_H_ 21 #ifndef _GEVOLUTION_H_
22 #define _GEVOLUTION_H_ 22 #define _GEVOLUTION_H_
23
24 #ifdef HAVE_CONFIG_H
25 # include "config.h"
26 #endif
23 27
24 #include <libebook/e-book.h> 28 #include <libebook/e-book.h>
25 29
26 typedef struct 30 typedef struct
27 { 31 {
81 85
82 GList *contacts; 86 GList *contacts;
83 87
84 } GevoAssociateBuddyDialog; 88 } GevoAssociateBuddyDialog;
85 89
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
86 void gevo_add_buddy_dialog_show(GaimAccount *account, const char *username, 96 void gevo_add_buddy_dialog_show(GaimAccount *account, const char *username,
87 const char *group, const char *alias); 97 const char *group, const char *alias);
88 void gevo_add_buddy_dialog_add_person(GevoAddBuddyDialog *dialog, 98 void gevo_add_buddy_dialog_add_person(GevoAddBuddyDialog *dialog,
89 EContact *contact, 99 EContact *contact,
90 const char *name, GaimAccount *account, 100 const char *name, GaimAccount *account,