plugins/simple.c

changeset 13690
bcb427c64568
parent 11256
fe82a0c5e5ec
equal deleted inserted replaced
13689:70b7618b1916 13690:bcb427c64568
1 #include "internal.h" 1 #include "internal.h"
2 #include "debug.h" 2 #include "debug.h"
3 #include "plugin.h" 3 #include "plugin.h"
4 #include "version.h" 4 #include "version.h"
5
6 /** Plugin id : type-author-name (to guarantee uniqueness) */
7 #define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple"
5 8
6 static gboolean 9 static gboolean
7 plugin_load(GaimPlugin *plugin) 10 plugin_load(GaimPlugin *plugin)
8 { 11 {
9 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); 12 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n");
28 NULL, /**< ui_requirement */ 31 NULL, /**< ui_requirement */
29 0, /**< flags */ 32 0, /**< flags */
30 NULL, /**< dependencies */ 33 NULL, /**< dependencies */
31 GAIM_PRIORITY_DEFAULT, /**< priority */ 34 GAIM_PRIORITY_DEFAULT, /**< priority */
32 35
33 NULL, /**< id */ 36 SIMPLE_PLUGIN_ID, /**< id */
34 N_("Simple Plugin"), /**< name */ 37 N_("Simple Plugin"), /**< name */
35 VERSION, /**< version */ 38 VERSION, /**< version */
36 /** summary */ 39 /** summary */
37 N_("Tests to see that most things are working."), 40 N_("Tests to see that most things are working."),
38 /** description */ 41 /** description */
39 N_("Tests to see that most things are working."), 42 N_("Tests to see that most things are working."),
40 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ 43 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */
41 GAIM_WEBSITE, /**< homepage */ 44 GAIM_WEBSITE, /**< homepage */
42 45
43 plugin_load, /**< load */ 46 plugin_load, /**< load */
44 plugin_unload, /**< unload */ 47 plugin_unload, /**< unload */
45 NULL, /**< destroy */ 48 NULL, /**< destroy */
46 49

mercurial