comparison libpurple/core.h @ 17709: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
comparison
equal deleted inserted replaced
17708:9f5c9df30287 17709:176d0fc8bc16
119 * @return A boolean indicating success or migration failure. On failure, 119 * @return A boolean indicating success or migration failure. On failure,
120 * the application must display an error to the user and then exit. 120 * the application must display an error to the user and then exit.
121 */ 121 */
122 gboolean purple_core_migrate(void); 122 gboolean purple_core_migrate(void);
123 123
124 /**
125 * Ensures that only one instance is running.
126 *
127 * @return A boolean such that success indicates that this is the first instance,
128 * whereas failure indicates that there is another instance running.
129 */
130 gboolean purple_core_ensure_single_instance(void);
131
124 #ifdef __cplusplus 132 #ifdef __cplusplus
125 } 133 }
126 #endif 134 #endif
127 135
128 #endif /* _PURPLE_CORE_H_ */ 136 #endif /* _PURPLE_CORE_H_ */