From: <rl...@us...> - 2006-04-24 20:41:20
|
Revision: 16091 Author: rlaager Date: 2006-04-24 13:41:15 -0700 (Mon, 24 Apr 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16091&view=rev Log Message: ----------- SF Patch #1464437 "1. A sample plugin ID with a comment explaining its purpose 2. One tiny comment alignment fix." Modified Paths: -------------- trunk/plugins/simple.c Modified: trunk/plugins/simple.c =================================================================== --- trunk/plugins/simple.c 2006-04-24 20:37:00 UTC (rev 16090) +++ trunk/plugins/simple.c 2006-04-24 20:41:15 UTC (rev 16091) @@ -3,6 +3,9 @@ #include "plugin.h" #include "version.h" +/** Plugin id : type-author-name (to guarantee uniqueness) */ +#define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple" + static gboolean plugin_load(GaimPlugin *plugin) { @@ -30,7 +33,7 @@ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ - NULL, /**< id */ + SIMPLE_PLUGIN_ID, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ @@ -38,7 +41,7 @@ /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven <er...@wa...>", /**< author */ - GAIM_WEBSITE, /**< homepage */ + GAIM_WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |