view console/gntplugin.h @ 14323:a0a360de39d8

[gaim-migrate @ 17018] Revert commit 16946 "Use the gtk conversation unseen_count instead of keeping my own count." since that unseen_count gets reset before I get a chance to remove notifications. It's a bit unfortunate since keeping my own count is annoying. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 24 Aug 2006 17:37:24 +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