plugins/simple.c

Sat, 02 Aug 2003 15:27:00 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 02 Aug 2003 15:27:00 +0000
changeset 6357
f83643b0a067
parent 6063
8fbafa2e1846
child 6371
e92b66ee5518
permissions
-rw-r--r--

[gaim-migrate @ 6856]
Not much--I changed the code to show idle time for irc so it uses the core
sec_to_text function or whatever it's called. THEN I fixed a compile
error, AND THEN I fixed a compile warning, AND NOW I'm commiting. AND THEN
the storm released its fury upon the soil
...they should have known because he told them so...

#include "config.h"
#include "gaim.h"

static gboolean
plugin_load(GaimPlugin *plugin)
{
	gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n");

	return TRUE;
}

static gboolean
plugin_unload(GaimPlugin *plugin)
{
	gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n");

	return TRUE;
}

static GaimPluginInfo info =
{
	2,                                                /**< api_version    */
	GAIM_PLUGIN_STANDARD,                             /**< type           */
    NULL,                                             /**< ui_requirement */
	0,                                                /**< flags          */
	NULL,                                             /**< dependencies   */
	GAIM_PRIORITY_DEFAULT,                            /**< priority       */

	NULL,                                             /**< id             */
	N_("Simple Plugin"),                              /**< name           */
	VERSION,                                          /**< version        */
	                                                  /**  summary        */
	N_("Tests to see that most things are working."),
	                                                  /**  description    */
	N_("Tests to see that most things are working."),
	"Eric Warmenhoven <eric@warmenhoven.org>",        /**< author         */
	WEBSITE,                                          /**< homepage       */

	plugin_load,                                      /**< load           */
	plugin_unload,                                    /**< unload         */
	NULL,                                             /**< destroy        */

	NULL,                                             /**< ui_info        */
	NULL                                              /**< extra_info     */
};

static void
init_plugin(GaimPlugin *plugin)
{
}

GAIM_INIT_PLUGIN(simple, init_plugin, info)

mercurial