Mercurial > pidgin
comparison libpurple/plugins/simple.c @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 5fe8042783c1 |
children | d638845509fd |
comparison
equal
deleted
inserted
replaced
15821:84b0f9b23ede | 15822:32c366eeeb99 |
---|---|
5 | 5 |
6 /** Plugin id : type-author-name (to guarantee uniqueness) */ | 6 /** Plugin id : type-author-name (to guarantee uniqueness) */ |
7 #define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple" | 7 #define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple" |
8 | 8 |
9 static gboolean | 9 static gboolean |
10 plugin_load(GaimPlugin *plugin) | 10 plugin_load(PurplePlugin *plugin) |
11 { | 11 { |
12 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); | 12 purple_debug(PURPLE_DEBUG_INFO, "simple", "simple plugin loaded.\n"); |
13 | 13 |
14 return TRUE; | 14 return TRUE; |
15 } | 15 } |
16 | 16 |
17 static gboolean | 17 static gboolean |
18 plugin_unload(GaimPlugin *plugin) | 18 plugin_unload(PurplePlugin *plugin) |
19 { | 19 { |
20 gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); | 20 purple_debug(PURPLE_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); |
21 | 21 |
22 return TRUE; | 22 return TRUE; |
23 } | 23 } |
24 | 24 |
25 static GaimPluginInfo info = | 25 static PurplePluginInfo info = |
26 { | 26 { |
27 GAIM_PLUGIN_MAGIC, | 27 PURPLE_PLUGIN_MAGIC, |
28 GAIM_MAJOR_VERSION, | 28 PURPLE_MAJOR_VERSION, |
29 GAIM_MINOR_VERSION, | 29 PURPLE_MINOR_VERSION, |
30 GAIM_PLUGIN_STANDARD, /**< type */ | 30 PURPLE_PLUGIN_STANDARD, /**< type */ |
31 NULL, /**< ui_requirement */ | 31 NULL, /**< ui_requirement */ |
32 0, /**< flags */ | 32 0, /**< flags */ |
33 NULL, /**< dependencies */ | 33 NULL, /**< dependencies */ |
34 GAIM_PRIORITY_DEFAULT, /**< priority */ | 34 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
35 | 35 |
36 SIMPLE_PLUGIN_ID, /**< id */ | 36 SIMPLE_PLUGIN_ID, /**< id */ |
37 N_("Simple Plugin"), /**< name */ | 37 N_("Simple Plugin"), /**< name */ |
38 VERSION, /**< version */ | 38 VERSION, /**< version */ |
39 /** summary */ | 39 /** summary */ |
40 N_("Tests to see that most things are working."), | 40 N_("Tests to see that most things are working."), |
41 /** description */ | 41 /** description */ |
42 N_("Tests to see that most things are working."), | 42 N_("Tests to see that most things are working."), |
43 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ | 43 "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ |
44 GAIM_WEBSITE, /**< homepage */ | 44 PURPLE_WEBSITE, /**< homepage */ |
45 | 45 |
46 plugin_load, /**< load */ | 46 plugin_load, /**< load */ |
47 plugin_unload, /**< unload */ | 47 plugin_unload, /**< unload */ |
48 NULL, /**< destroy */ | 48 NULL, /**< destroy */ |
49 | 49 |
52 NULL, | 52 NULL, |
53 NULL | 53 NULL |
54 }; | 54 }; |
55 | 55 |
56 static void | 56 static void |
57 init_plugin(GaimPlugin *plugin) | 57 init_plugin(PurplePlugin *plugin) |
58 { | 58 { |
59 } | 59 } |
60 | 60 |
61 GAIM_INIT_PLUGIN(simple, init_plugin, info) | 61 PURPLE_INIT_PLUGIN(simple, init_plugin, info) |