diff libpurple/cmds.h @ 23414:b5f679e95666

cmd-added and cmd-removed signals to emit when commands are registered/unregistered.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 02 Jul 2008 23:50:59 +0000
parents 23498a6244f3
children d8452c0bec7b
line wrap: on
line diff
--- a/libpurple/cmds.h	Wed Jul 02 16:54:03 2008 +0000
+++ b/libpurple/cmds.h	Wed Jul 02 23:50:59 2008 +0000
@@ -1,6 +1,7 @@
 /**
  * @file cmds.h Commands API
  * @ingroup core
+ * @see @ref cmd-signals
  */
 
 /* Copyright (C) 2003 Timothy Ringenbach <omarvo@hotmail.com>
@@ -221,6 +222,25 @@
  */
 GList *purple_cmd_help(PurpleConversation *conv, const gchar *cmd);
 
+/**
+ * Get the handle for the commands API
+ * @return The handle
+ * @since 2.5.0
+ */
+gpointer purple_cmds_get_handle(void);
+
+/**
+ * Initialize the commands subsystem.
+ * @since 2.5.0
+ */
+void purple_cmds_init(void);
+
+/**
+ * Uninitialize the commands subsystem.
+ * @since 2.5.0
+ */
+void purple_cmds_uninit(void);
+
 /*@}*/
 
 #ifdef __cplusplus