pidgin/purple-plugin-pack

Filling out the skeleton of all the main callbacks.
org.guifications.plugins.smartear
2007-07-07, rekkanoryo
a27f16b3ca38
Parents 9723ad802b2f
Children 6fa0ebcf161d
Filling out the skeleton of all the main callbacks.
--- a/smartear/smartear.c Fri Jul 06 16:40:10 2007 -0400
+++ b/smartear/smartear.c Sat Jul 07 17:28:14 2007 -0400
@@ -37,10 +37,42 @@
#include <signals.h>
#include <version.h>
+/* Callbacks */
+
+static void
+smartear_cb_sent_msg(PurpleAccount *account, const gchar *receiver, const gchar *message)
+{
+ /* TODO: Finish me! */
+#warning Finish me!!!
+}
+
+static void
+smartear_cb_received_msg(PurpleAccount *account, gchar *sender, char *message,
+ PurpleConversation *conv, PurpleMessageFlags flags)
+{
+ /* TODO: Finish me! */
+#warning Finish me!!!
+}
+
+static void
+smartear_cb_idle(PurpleBuddy *buddy, gboolean wasidle, gboolean nowidle)
+{
+ /* TODO: Finish me! */
+#warning Finish me!!!
+}
+
+static void
+smartear_cb_signonoff(PurpleBuddy *buddy)
+{
+ /* TODO: Finish me! */
+#warning Finish me!!!
+}
+
static void
smartear_cb_blistnode_menu_action(PurpleBlistNode *node, gpointer plugin)
{
/* TODO: Finish me! */
+#warning Finish me!!!
}
static void
@@ -58,6 +90,8 @@
*menu = g_list_prepend(*menu, action);
}
+/* Purple Plugin stuff */
+
static gboolean
smartear_load(PurplePlugin *plugin)
{