Mercurial > pidgin.yaz
changeset 11088:b8bfa71e5595
[gaim-migrate @ 13108]
Added musicmessaging.c.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Muise <christian.muise@gmail.com> |
---|---|
date | Mon, 11 Jul 2005 03:39:44 +0000 |
parents | 9e45c457e05a |
children | 355595881218 |
files | plugins/musicmessaging/musicmessaging.c |
diffstat | 1 files changed, 50 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/musicmessaging/musicmessaging.c Mon Jul 11 03:39:44 2005 +0000 @@ -0,0 +1,50 @@ +#define GAIM_PLUGINS + +#include <glib.h> + +#include "notify.h" +#include "plugin.h" +#include "version.h" + +static gboolean +plugin_load(GaimPlugin *plugin) { + gaim_notify_message(plugin, GAIM_NOTIFY_MSG_INFO, "Hello World!", + "This is the Hello World! plugin :)", NULL, NULL, NULL); + + return TRUE; +} + +static GaimPluginInfo info = { + GAIM_PLUGIN_MAGIC, + GAIM_MAJOR_VERSION, + GAIM_MINOR_VERSION, + GAIM_PLUGIN_STANDARD, + NULL, + 0, + NULL, + GAIM_PRIORITY_DEFAULT, + + "core-hello_world", + "Hello World!", + NULL, + + "Hello World Plugin", + "Hello World Plugin", + NULL, + NULL, + + plugin_load, + NULL, + NULL, + + NULL, + NULL, + NULL, + NULL +}; + +static void +init_plugin(GaimPlugin *plugin) { +} + +GAIM_INIT_PLUGIN(hello_world, init_plugin, info);