2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of the
5 * License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 /** Plugin id : type-author-name (to guarantee uniqueness) */
22 #define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple"
24 static PurplePluginInfo
*
25 plugin_query(GError
**error
)
27 const gchar
* const authors
[] = {
28 "Eric Warmenhoven <eric@warmenhoven.org>",
32 return purple_plugin_info_new(
33 "id", SIMPLE_PLUGIN_ID
,
34 "name", N_("Simple Plugin"),
35 "version", DISPLAY_VERSION
,
36 "category", N_("Testing"),
37 "summary", N_("Tests to see that most things are working."),
38 "description", N_("Tests to see that most things are working."),
40 "website", PURPLE_WEBSITE
,
41 "abi-version", PURPLE_ABI_VERSION
,
47 plugin_load(PurplePlugin
*plugin
, GError
**error
)
49 purple_debug(PURPLE_DEBUG_INFO
, "simple", "simple plugin loaded.\n");
55 plugin_unload(PurplePlugin
*plugin
, GError
**error
)
57 purple_debug(PURPLE_DEBUG_INFO
, "simple", "simple plugin unloaded.\n");
62 PURPLE_PLUGIN_INIT(simple
, plugin_query
, plugin_load
, plugin_unload
);