comparison console/gntplugin.h @ 14139:44ec6c7cbc76

[gaim-migrate @ 16781] Allow setting the preferences for gnt-plugins. Add a guifications-like plugin for gntgaim. You can set its preferences. The preferences for core plugins are still not accessible. The makefile-foo will require changes once the split is complete. I am now just committing whatever works for me. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 16 Aug 2006 05:12:48 +0000
parents 7573bd40a190
children c65ed4f6eea8
comparison
equal deleted inserted replaced
14138:7f276f375789 14139:44ec6c7cbc76
1 #include <gnt.h>
2
1 #include <plugin.h> 3 #include <plugin.h>
4
5 #include <string.h>
6
7 typedef GntWidget* (*GGPluginFrame) ();
8
9 /* Guess where these came from */
10 #define GAIM_GNT_PLUGIN_TYPE "gnt"
11
12 #define GAIM_IS_GNT_PLUGIN(plugin) \
13 ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \
14 !strcmp((plugin)->info->ui_requirement, GAIM_GNT_PLUGIN_TYPE))
15
16 #define GAIM_GNT_PLUGIN_UI_INFO(plugin) \
17 (GGPluginFrame)((plugin)->info->ui_info)
2 18
3 void gg_plugins_show_all(); 19 void gg_plugins_show_all();
4 20
5 void gg_plugins_save_loaded(); 21 void gg_plugins_save_loaded();
6 22