6677
|
1 #include "internal.h"
|
|
2 #include "debug.h"
|
|
3 #include "plugin.h"
|
90
|
4
|
5205
|
5 static gboolean
|
|
6 plugin_load(GaimPlugin *plugin)
|
|
7 {
|
5227
|
8 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n");
|
94
|
9
|
5205
|
10 return TRUE;
|
90
|
11 }
|
|
12
|
5205
|
13 static gboolean
|
|
14 plugin_unload(GaimPlugin *plugin)
|
|
15 {
|
5227
|
16 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n");
|
5205
|
17
|
|
18 return TRUE;
|
90
|
19 }
|
92
|
20
|
5205
|
21 static GaimPluginInfo info =
|
|
22 {
|
8749
|
23 GAIM_PLUGIN_API_VERSION, /**< api_version */
|
5205
|
24 GAIM_PLUGIN_STANDARD, /**< type */
|
5367
|
25 NULL, /**< ui_requirement */
|
5205
|
26 0, /**< flags */
|
|
27 NULL, /**< dependencies */
|
|
28 GAIM_PRIORITY_DEFAULT, /**< priority */
|
|
29
|
|
30 NULL, /**< id */
|
|
31 N_("Simple Plugin"), /**< name */
|
|
32 VERSION, /**< version */
|
|
33 /** summary */
|
|
34 N_("Tests to see that most things are working."),
|
|
35 /** description */
|
|
36 N_("Tests to see that most things are working."),
|
|
37 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */
|
6371
|
38 GAIM_WEBSITE, /**< homepage */
|
5205
|
39
|
|
40 plugin_load, /**< load */
|
|
41 plugin_unload, /**< unload */
|
|
42 NULL, /**< destroy */
|
|
43
|
|
44 NULL, /**< ui_info */
|
8993
|
45 NULL, /**< extra_info */
|
|
46 NULL,
|
|
47 NULL
|
5205
|
48 };
|
|
49
|
|
50 static void
|
5920
|
51 init_plugin(GaimPlugin *plugin)
|
5205
|
52 {
|
3551
|
53 }
|
|
54
|
6063
|
55 GAIM_INIT_PLUGIN(simple, init_plugin, info)
|