view console/gntplugin.h @ 14526:9df42423eea8

[gaim-migrate @ 17247] Tell configure to disable the installation of the gconf schema. Add a %post section that calls gconftool-2 to do the real installation. This is entirely untested, but is documented as The Right Way at: http://www.gnome.org/projects/gconf/ committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 11 Sep 2006 07:01:15 +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