# HG changeset patch # User Christian Hammond # Date 1061500881 0 # Node ID 122cb375be2d05cb6054ffaa98b372bf82944fcc # Parent c53a3f0649ebe627d23656bf4777a0f4e47b8601 [gaim-migrate @ 7085] Added an enum of gaim-specific value subtypes. committer: Tailor Script diff -r c53a3f0649eb -r 122cb375be2d src/value.h --- a/src/value.h Thu Aug 21 20:29:33 2003 +0000 +++ b/src/value.h Thu Aug 21 21:21:21 2003 +0000 @@ -50,6 +50,24 @@ } GaimType; /** + * Gaim-specific subtype values. + */ +typedef enum +{ + GAIM_SUBTYPE_UNKNOWN = 0, + GAIM_SUBTYPE_ACCOUNT, + GAIM_SUBTYPE_BLIST, + GAIM_SUBTYPE_BLIST_BUDDY, + GAIM_SUBTYPE_BLIST_GROUP, + GAIM_SUBTYPE_BLIST_CHAT, + GAIM_SUBTYPE_CONNECTION, + GAIM_SUBTYPE_CONVERSATION, + GAIM_SUBTYPE_CONV_WINDOW, + GAIM_SUBTYPE_PLUGIN + +} GaimSubType; + +/** * A wrapper for a type, subtype, and specific type of value. */ typedef struct @@ -87,6 +105,10 @@ } GaimValue; +#ifdef __cplusplus +extern "C" { +#endif + /** * Creates a new GaimValue. * @@ -443,4 +465,8 @@ */ void *gaim_value_get_boxed(const GaimValue *value); +#ifdef __cplusplus +} +#endif + #endif /* _GAIM_VALUE_H_ */