diff libpurple/core.h @ 18292:9db52d9b8436

core support for UI info...now to do the UI piece
author Nathan Walp <nwalp@pidgin.im>
date Mon, 02 Jul 2007 03:26:08 +0000
parents 41ae5efe745c
children 0e8b2bb66a7d
line wrap: on
line diff
--- a/libpurple/core.h	Mon Jun 25 17:44:40 2007 +0000
+++ b/libpurple/core.h	Mon Jul 02 03:26:08 2007 +0000
@@ -32,11 +32,11 @@
 	void (*debug_ui_init)(void); /* Unfortunate necessity. */
 	void (*ui_init)(void);
 	void (*quit)(void);
+	GHashTable* (*get_ui_info)(void);
 
 	void (*_purple_reserved1)(void);
 	void (*_purple_reserved2)(void);
 	void (*_purple_reserved3)(void);
-	void (*_purple_reserved4)(void);
 } PurpleCoreUiOps;
 
 #ifdef __cplusplus
@@ -131,6 +131,17 @@
  */
 gboolean purple_core_ensure_single_instance(void);
 
+/**
+ * Returns a hashtable containing various information about the UI
+ *
+ * @return A GHashTable with strings for keys and values.  This
+ * hash table must not be freed.
+ *
+ * @since 2.1.0
+ *
+ */
+GHashTable* purple_core_get_ui_info(void);
+
 #ifdef __cplusplus
 }
 #endif