core.h

Go to the documentation of this file.
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); /* Unfortunate necessity. */
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 /* _GAIM_CORE_H_ */
00115 
00116 /*
00117 
00118                                                   /===-
00119                                                 `//"\\   """"`---.___.-""
00120              ______-==|                         | |  \\           _-"`
00121        __--"""  ,-/-==\\                        | |   `\        ,'
00122     _-"       /'    |  \\            ___         / /      \      /
00123   .'        /       |   \\         /"   "\    /' /        \   /'
00124  /  ____  /         |    \`\.__/-""  D O   \_/'  /          \/'
00125 /-'"    """""---__  |     "-/"   O G     R   /'        _--"`
00126                   \_|      /   R    __--_  t ),   __--""
00127                     '""--_/  T   _-"_>--<_\ h '-" \
00128                    {\__--_/}    / \\__>--<__\ e B  \
00129                    /'   (_/  _-"  | |__>--<__|   U  |
00130                   |   _/) )-"     | |__>--<__|  R   |
00131                   / /" ,_/       / /__>---<__/ N    |
00132                  o-o _//        /-"_>---<__-" I    /
00133                  (^("          /"_>---<__-  N   _-"
00134                 ,/|           /__>--<__/  A  _-"
00135              ,//('(          |__>--<__|  T  /                  .----_
00136             ( ( '))          |__>--<__|    |                 /' _---_"\
00137          `-)) )) (           |__>--<__|  O |               /'  /     "\`\
00138         ,/,'//( (             \__>--<__\  R \            /'  //        ||
00139       ,( ( ((, ))              "-__>--<_"-_  "--____---"' _/'/        /'
00140     `"/  )` ) ,/|                 "-_">--<_/-__       __-" _/
00141   ._-"//( )/ )) `                    ""-'_/_/ /"""""""__--"
00142    ;'( ')/ ,)(                              """"""""""
00143   ' ') '( (/
00144     '   '  `
00145 
00146 */

Generated on Sun Feb 18 07:36:17 2007 for gaim by  doxygen 1.5.1