37#ifndef _PURPLE_CORE_H_
38#define _PURPLE_CORE_H_
40typedef struct PurpleCore PurpleCore;
52 void (*ui_prefs_init)(void);
59 void (*debug_ui_init)(void);
65 void (*ui_init)(void);
72 GHashTable* (*get_ui_info)(void);
74 void (*_purple_reserved1)(void);
75 void (*_purple_reserved2)(void);
76 void (*_purple_reserved3)(void);
PurpleCoreUiOps * purple_core_get_ui_ops(void)
Returns the UI ops for the core.
void purple_core_quit(void)
Quits the core of purple, which, depending on the UI, may quit the application using the purple core.
GHashTable * purple_core_get_ui_info(void)
Returns a hash table containing various information about the UI.
const char * purple_core_get_version(void)
Returns the version of the core library.
const char * purple_core_get_ui(void)
Returns the ID of the UI that is using the core, as passed to purple_core_init().
gboolean purple_core_ensure_single_instance(void)
Ensures that only one instance is running.
PurpleCore * purple_get_core(void)
Returns a handle to the purple core.
void purple_core_set_ui_ops(PurpleCoreUiOps *ops)
Sets the UI ops for the core.
gboolean purple_core_quit_cb(gpointer unused)
gboolean purple_core_init(const char *ui)
Initializes the core of purple.
gboolean purple_core_migrate(void)
Migrates from .gaim to .purple.
Callbacks that fire at different points of the initialization and teardown of libpurple,...