Mercurial > pidgin
diff src/prpl.h @ 8749:d7b8eb1f0a18
[gaim-migrate @ 9504]
Bumped up the plugin API version number, and added version numbers for
loader plugins and protocol plugins. Authors will want to update their
plugins, and possibly use GAIM_PLUGIN_API_VERSION, GAIM_PRPL_API_VERSION,
and GAIM_LOADER_API_VERSION constants.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 22 Apr 2004 01:53:18 +0000 |
parents | 7024b595b6ae |
children | 80b4c956d7ae |
line wrap: on
line diff
--- a/src/prpl.h Wed Apr 21 23:40:39 2004 +0000 +++ b/src/prpl.h Thu Apr 22 01:53:18 2004 +0000 @@ -97,6 +97,7 @@ { GAIM_CONV_IM_AUTO_RESP = 0x0001, /**< Auto response. */ GAIM_CONV_IM_IMAGES = 0x0002 /**< Contains images. */ + } GaimConvImFlags; #include "blist.h" @@ -205,6 +206,8 @@ */ struct _GaimPluginProtocolInfo { + unsigned int api_version; /**< API version number. */ + GaimProtocolOptions options; /**< Protocol options. */ GList *user_splits; /* A GList of GaimAccountUserSplit */ @@ -343,6 +346,7 @@ #define GAIM_PLUGIN_PROTOCOL_INFO(plugin) \ ((GaimPluginProtocolInfo *)(plugin)->info->extra_info) +#define GAIM_PRPL_API_VERSION 2 #ifdef __cplusplus extern "C" {