diff libpurple/protocols/msn/switchboard.h @ 27292:a6d84d9de605

Add support for receiving handwritten (Ink) messages from MSN buddies. Based on patch from notak and galt, but using imgstore instead of a custom smiley (like AIM DirectIM), and with better error checking. References #393.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 06 Jul 2009 04:37:06 +0000
parents d8452c0bec7b
children 462cb893521b
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.h	Sun Jul 05 05:41:00 2009 +0000
+++ b/libpurple/protocols/msn/switchboard.h	Mon Jul 06 04:37:06 2009 +0000
@@ -280,4 +280,14 @@
  */
 void msn_invite_msg(MsnCmdProc *cmdproc, MsnMessage *msg);
 
+/**
+ * Shows an ink message from this switchboard.
+ *
+ * @param swboard  The switchboard.
+ * @param passport The user that sent the ink.
+ * @param data     The ink data.
+ */
+void msn_switchboard_show_ink(MsnSwitchBoard *swboard, const char *passport,
+                              const char *data);
+
 #endif /* _MSN_SWITCHBOARD_H_ */