static PurplePluginInfo * plugin_query (GError ** error) { const gchar * const authors[] = { "John Bailey <*****@*****.**>", /* correct author */ NULL }; /* For specific notes on the meanings of each of these members, consult the C Plugin Howto on the website. */ return purple_plugin_info_new ( "id", "core-hello_world", "name", "Hello World!", "version", DISPLAY_VERSION, /* This constant is defined in config.h, but you shouldn't use it for your own plugins. We use it here because it's our plugin. And we're lazy. */ "category", "Example", "summary", "Hello World Plugin", "description", "Hello World Plugin", "authors", authors, "website", "http://helloworld.tld", "abi-version", PURPLE_ABI_VERSION, "actions-cb", plugin_actions, /* this tells libpurple the address of the function to call to get the list of plugin actions. */ NULL ); }
static PurplePluginInfo * plugin_query(GError **error) { return purple_plugin_info_new( "id", SKYPEWEB_PLUGIN_ID, "name", "SkypeWeb Protocol", "version", SKYPEWEB_PLUGIN_VERSION, "category", N_("Protocol"), "summary", N_("SkypeWeb Protocol Plugin"), "description", N_("SkypeWeb Protocol Plugin"), "website", "http://github.com/EionRobb/skype4pidgin", "abi-version", PURPLE_ABI_VERSION, "flags", PURPLE_PLUGIN_INFO_FLAGS_INTERNAL | PURPLE_PLUGIN_INFO_FLAGS_AUTO_LOAD, NULL ); }
/*------------------------------------------------------------------------ * Querying the MXit plugin. * * @param error Query error (if any) */ static PurplePluginInfo * plugin_query( GError **error ) { const gchar * const authors[] = MXIT_PLUGIN_AUTHORS; return purple_plugin_info_new( "id", MXIT_PLUGIN_ID, /* plugin id (must be unique) */ "name", MXIT_PLUGIN_NAME, /* plugin name (this will be displayed in the UI) */ "version", DISPLAY_VERSION, /* version of the plugin */ "category", MXIT_PLUGIN_CATEGORY, /* category of the plugin */ "summary", MXIT_PLUGIN_SUMMARY, /* short summary of the plugin */ "description", MXIT_PLUGIN_DESC, /* description of the plugin (can be long) */ "authors", authors, /* plugin authors' name and email addresses */ "website", MXIT_PLUGIN_WWW, /* plugin website (to find new versions and reporting of bugs) */ "abi-version", PURPLE_ABI_VERSION, /* ABI version required by the plugin */ "flags", PURPLE_PLUGIN_INFO_FLAGS_INTERNAL | PURPLE_PLUGIN_INFO_FLAGS_AUTO_LOAD, NULL ); }
/************************************************************************** * Plugin stuff **************************************************************************/ static PurplePluginInfo * plugin_query(GError **error) { const gchar * const authors[] = { "Gary Kramlich <*****@*****.**>", NULL }; return purple_plugin_info_new( "id", "core-cipher-test", "name", N_("Cipher Test"), "version", DISPLAY_VERSION, "category", N_("Testing"), "summary", N_("Tests the ciphers that ship with libpurple."), "description", N_("Tests the ciphers that ship with libpurple."), "authors", authors, "website", PURPLE_WEBSITE, "abi-version", PURPLE_ABI_VERSION, NULL ); }
static PurplePluginInfo * plugin_query(GError **error) { const gchar * const authors[] = { "Eric Warmenhoven <*****@*****.**>", NULL }; return purple_plugin_info_new( "id", SIMPLE_PLUGIN_ID, "name", N_("Simple Plugin"), "version", DISPLAY_VERSION, "category", N_("Testing"), "summary", N_("Tests to see that most things are working."), "description", N_("Tests to see that most things are working."), "authors", authors, "website", PURPLE_WEBSITE, "abi-version", PURPLE_ABI_VERSION, NULL ); }