Mercurial > pidgin
view console/gntplugin.h @ 14364:338ac096e322
[gaim-migrate @ 17070]
Disabled GTK+ components of the Perl plugin (we'll no longer support gtk-perl prefs frames until this is refactored into a gtkgaim plugin somehow).
Fix gaim_util_fetch_url and plug some leaks.
I haven't successfully tested gaim_util_fetch_url from perl yet - it doesn't seem to actually pass the retrieved text to the plugin sub correctly yet.
The syntax for calling gaim_util_fetch_url() from perl is also funky and should be made more consistent to the C function.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 20:27:03 +0000 |
parents | c65ed4f6eea8 |
children | 81650a27f253 |
line wrap: on
line source
#ifndef _GNT_PLUGIN_H #define _GNT_PLUGIN_H #include <gnt.h> #include <plugin.h> #include <string.h> typedef GntWidget* (*GGPluginFrame) (); /* Guess where these came from */ #define GAIM_GNT_PLUGIN_TYPE "gnt" #define GAIM_IS_GNT_PLUGIN(plugin) \ ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \ !strcmp((plugin)->info->ui_requirement, GAIM_GNT_PLUGIN_TYPE)) #define GAIM_GNT_PLUGIN_UI_INFO(plugin) \ (GGPluginFrame)((plugin)->info->ui_info) void gg_plugins_show_all(void); void gg_plugins_save_loaded(void); #endif