view console/gntplugin.h @ 14140:ee80f766b7e3

[gaim-migrate @ 16782] Fix a warning: nexus.c:299: warning: no previous prototype for 'nexus_challenge_data_lookup' And change this code to use tab indentation committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 16 Aug 2006 06:11:10 +0000
parents 44ec6c7cbc76
children c65ed4f6eea8
line wrap: on
line source

#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 gg_plugins_save_loaded();