00001
00025 #ifndef _GAIM_CORE_H_
00026 #define _GAIM_CORE_H_
00027
00028 typedef struct GaimCore GaimCore;
00029
00030 typedef struct
00031 {
00032 void (*ui_prefs_init)(void);
00033 void (*debug_ui_init)(void);
00034 void (*ui_init)(void);
00035 void (*quit)(void);
00036
00037 } GaimCoreUiOps;
00038
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042
00053 gboolean gaim_core_init(const char *ui);
00054
00059 void gaim_core_quit(void);
00060
00073 gboolean gaim_core_quit_cb(gpointer unused);
00074
00080 const char *gaim_core_get_version(void);
00081
00087 const char *gaim_core_get_ui(void);
00088
00094 GaimCore *gaim_get_core(void);
00095
00101 void gaim_core_set_ui_ops(GaimCoreUiOps *ops);
00102
00108 GaimCoreUiOps *gaim_core_get_ui_ops(void);
00109
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113
00114 #endif
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146