diff libpurple/core.h @ 18066:5c4efa98e8dd

propagate from branch 'im.pidgin.pidgin' (head 4d9e228029b9b7850d000c2edadc108c40f9e59a) to branch 'im.pidgin.pidgin.2.1.0' (head 6a22d95caf705430ccb49e98a7000ad83484b5fe)
author Luke Schierer <lschiere@pidgin.im>
date Thu, 07 Jun 2007 02:39:48 +0000
parents 41ae5efe745c
children 9db52d9b8436 2177a11e169d
line wrap: on
line diff
--- a/libpurple/core.h	Thu Jun 07 02:28:34 2007 +0000
+++ b/libpurple/core.h	Thu Jun 07 02:39:48 2007 +0000
@@ -121,6 +121,16 @@
  */
 gboolean purple_core_migrate(void);
 
+/**
+ * Ensures that only one instance is running.
+ *
+ * @return A boolean such that @c TRUE indicates that this is the first instance,
+ *         whereas @c FALSE indicates that there is another instance running.
+ *
+ * @since 2.1.0
+ */
+gboolean purple_core_ensure_single_instance(void);
+
 #ifdef __cplusplus
 }
 #endif