Mercurial > pidgin.yaz
diff libpurple/core.h @ 17123:176d0fc8bc16
Alternative dbus_uniq implementation
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Tue, 15 May 2007 20:41:36 +0000 |
parents | 516f14bef90e |
children | 601594a64190 |
line wrap: on
line diff
--- a/libpurple/core.h Sun May 13 19:52:05 2007 +0000 +++ b/libpurple/core.h Tue May 15 20:41:36 2007 +0000 @@ -121,6 +121,14 @@ */ gboolean purple_core_migrate(void); +/** + * Ensures that only one instance is running. + * + * @return A boolean such that success indicates that this is the first instance, + * whereas failure indicates that there is another instance running. + */ +gboolean purple_core_ensure_single_instance(void); + #ifdef __cplusplus } #endif