libpurple/core.h

branch
soc.2013.gobjectification.plugins
changeset 37021
04c99b24db84
parent 37017
8e2b68c79fa1
child 37023
d9bcdc9a91e6
equal deleted inserted replaced
37020:03730619fbac 37021:04c99b24db84
88 * This will setup preferences for all the core subsystems. 88 * This will setup preferences for all the core subsystems.
89 * 89 *
90 * @ui: The ID of the UI using the core. This should be a 90 * @ui: The ID of the UI using the core. This should be a
91 * unique ID, registered with the purple team. 91 * unique ID, registered with the purple team.
92 * 92 *
93 * Returns: @c TRUE if successful, or @c FALSE otherwise. 93 * Returns: %TRUE if successful, or %FALSE otherwise.
94 */ 94 */
95 gboolean purple_core_init(const char *ui); 95 gboolean purple_core_init(const char *ui);
96 96
97 /** 97 /**
98 * Quits the core of purple, which, depending on the UI, may quit the 98 * Quits the core of purple, which, depending on the UI, may quit the
161 * Ensures that only one instance is running. If libpurple is built with D-Bus 161 * Ensures that only one instance is running. If libpurple is built with D-Bus
162 * support, this checks if another process owns the libpurple bus name and if 162 * support, this checks if another process owns the libpurple bus name and if
163 * so whether that process is using the same configuration directory as this 163 * so whether that process is using the same configuration directory as this
164 * process. 164 * process.
165 * 165 *
166 * Returns: @c TRUE if this is the first instance of libpurple running; 166 * Returns: %TRUE if this is the first instance of libpurple running;
167 * @c FALSE if there is another instance running. 167 * %FALSE if there is another instance running.
168 */ 168 */
169 gboolean purple_core_ensure_single_instance(void); 169 gboolean purple_core_ensure_single_instance(void);
170 170
171 /** 171 /**
172 * Returns a hash table containing various information about the UI. The 172 * Returns a hash table containing various information about the UI. The

mercurial