plugins/simple.c

branch
gaim
changeset 20470
77693555855f
parent 13071
b98e72d4089a
parent 20469
b2836a24d81e
child 20471
1966704b3e42
equal deleted inserted replaced
13071:b98e72d4089a 20470:77693555855f
1 #include "internal.h"
2 #include "debug.h"
3 #include "plugin.h"
4 #include "version.h"
5
6 static gboolean
7 plugin_load(GaimPlugin *plugin)
8 {
9 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n");
10
11 return TRUE;
12 }
13
14 static gboolean
15 plugin_unload(GaimPlugin *plugin)
16 {
17 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n");
18
19 return TRUE;
20 }
21
22 static GaimPluginInfo info =
23 {
24 GAIM_PLUGIN_MAGIC,
25 GAIM_MAJOR_VERSION,
26 GAIM_MINOR_VERSION,
27 GAIM_PLUGIN_STANDARD, /**< type */
28 NULL, /**< ui_requirement */
29 0, /**< flags */
30 NULL, /**< dependencies */
31 GAIM_PRIORITY_DEFAULT, /**< priority */
32
33 NULL, /**< id */
34 N_("Simple Plugin"), /**< name */
35 VERSION, /**< version */
36 /** summary */
37 N_("Tests to see that most things are working."),
38 /** description */
39 N_("Tests to see that most things are working."),
40 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */
41 GAIM_WEBSITE, /**< homepage */
42
43 plugin_load, /**< load */
44 plugin_unload, /**< unload */
45 NULL, /**< destroy */
46
47 NULL, /**< ui_info */
48 NULL, /**< extra_info */
49 NULL,
50 NULL
51 };
52
53 static void
54 init_plugin(GaimPlugin *plugin)
55 {
56 }
57
58 GAIM_INIT_PLUGIN(simple, init_plugin, info)

mercurial