gtkplugin.h
Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _PIDGINPLUGIN_H_
00027 #define _PIDGINPLUGIN_H_
00028
00029 #include "pidgin.h"
00030 #include "plugin.h"
00031
00032 typedef struct _PidginPluginUiInfo PidginPluginUiInfo;
00033
00037 struct _PidginPluginUiInfo
00038 {
00039 GtkWidget *(*get_config_frame)(PurplePlugin *plugin);
00040
00041 int page_num;
00043
00044 void (*_pidgin_reserved1)(void);
00045 void (*_pidgin_reserved2)(void);
00046 void (*_pidgin_reserved3)(void);
00047 void (*_pidgin_reserved4)(void);
00048 };
00049
00050 #define PIDGIN_PLUGIN_TYPE PIDGIN_UI
00051
00052 #define PIDGIN_IS_PIDGIN_PLUGIN(plugin) \
00053 ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \
00054 !strcmp((plugin)->info->ui_requirement, PIDGIN_PLUGIN_TYPE))
00055
00056 #define PIDGIN_PLUGIN_UI_INFO(plugin) \
00057 ((PidginPluginUiInfo *)(plugin)->info->ui_info)
00058
00068 GtkWidget *pidgin_plugin_get_config_frame(PurplePlugin *plugin);
00069
00073 void pidgin_plugins_save(void);
00074
00078 void pidgin_plugin_dialog_show(void);
00079
00080 #endif