Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/plugins/gevolution/gevolution.h Sun May 23 22:17:38 2004 +0000 +++ b/plugins/gevolution/gevolution.h Sun May 23 22:43:37 2004 +0000 @@ -21,6 +21,10 @@ #ifndef _GEVOLUTION_H_ #define _GEVOLUTION_H_ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <libebook/e-book.h> typedef struct @@ -83,6 +87,12 @@ } GevoAssociateBuddyDialog; +#define EBOOK_CHECK_VERSION(major, minor, micro) \ + (LIBEBOOK_MAJOR_VER > (major) || \ + (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER > (minor)) || \ + (LIBEBOOK_MAJOR_VER == (major) && LIBEBOOK_MINOR_VER == (minor) && \ + LIBEBOOK_MICRO_VER >= (micro))) + void gevo_add_buddy_dialog_show(GaimAccount *account, const char *username, const char *group, const char *alias); void gevo_add_buddy_dialog_add_person(GevoAddBuddyDialog *dialog,