soc.2012.statscollector: e1aef941: Main C file containing the Plugin logic....
sanket at sanketagarwal.com
sanket at sanketagarwal.com
Mon May 14 13:28:07 EDT 2012
----------------------------------------------------------------------
Revision: e1aef9411a3de467bf74610ca7b9d0b465458fbc
Parent: c177c76c6719df4d377f9ed658ac7dad9c946681
Author: sanket at sanketagarwal.com
Date: 05/12/12 05:00:05
Branch: im.pidgin.soc.2012.statscollector
URL: http://d.pidgin.im/viewmtn/revision/info/e1aef9411a3de467bf74610ca7b9d0b465458fbc
Changelog:
Main C file containing the Plugin logic.x
Changes against parent c177c76c6719df4d377f9ed658ac7dad9c946681
added pidgin/plugins/statscollector.c
-------------- next part --------------
============================================================
--- /dev/null
+++ pidgin/plugins/statscollector.c 7717c348a1c71c2fcf57117dbc210662765c7db2
@@ -0,0 +1,63 @@
+#define PURPLE_PLUGINS
+
+#include <glib.h>
+
+#include "notify.h"
+#include "plugin.h"
+#include "version.h"
+
+#include "internal.h"
+
+#include <gtkplugin.h>
+
+static gboolean
+plugin_load(PurplePlugin *plugin) {
+ purple_notify_message(plugin, PURPLE_NOTIFY_MSG_INFO, "Hello World!",
+ "This is the Status Message 4! plugin :)", NULL, NULL, NULL);
+
+ return TRUE;
+}
+
+static PurplePluginInfo info =
+{
+ PURPLE_PLUGIN_MAGIC,
+ PURPLE_MAJOR_VERSION, /**< major version */
+ PURPLE_MINOR_VERSION, /**< minor version */
+ PURPLE_PLUGIN_STANDARD, /**< type */
+ PIDGIN_PLUGIN_TYPE, /**< ui_requirement */
+ 0, /**< flags */
+ NULL, /**< dependencies */
+ PURPLE_PRIORITY_DEFAULT, /**< priority */
+ "statscollector", /**< id */
+ N_("Statistics collection"), /**< name */
+ DISPLAY_VERSION, /**< version */
+ N_("Automated collection of statistics for "
+ "pidgin.im "), /**< summary */
+ N_("Collects statistics about usage of pidgin at "
+ "regular intervales and sends this usage "
+ "information to pidgin.im for collection "
+ " and display"), /**< description */
+ "Sanket Agarwal <sanket at sanketagarwal.com>", /**< author */
+ PURPLE_WEBSITE, /**< homepage */
+ plugin_load, /**< load */
+ NULL, /**< unload */
+ NULL, /**< destroy */
+ NULL, /**< ui_info */
+ NULL, /**< extra_info */
+ NULL, /**< prefs_info */
+ NULL, /**< actions */
+
+ /* padding */
+ NULL,
+ NULL,
+ NULL,
+ NULL
+};
+
+static void
+init_plugin(PurplePlugin *plugin)
+{
+}
+
+PURPLE_INIT_PLUGIN(statscollector, init_plugin, info)
+
More information about the Commits
mailing list