changeset 6563:122cb375be2d

[gaim-migrate @ 7085] Added an enum of gaim-specific value subtypes. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 21 Aug 2003 21:21:21 +0000
parents c53a3f0649eb
children 800ef4a51096
files src/value.h
diffstat 1 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_ */