From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- miranda-wine/protocols/Yahoo/chat.c | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 miranda-wine/protocols/Yahoo/chat.c (limited to 'miranda-wine/protocols/Yahoo/chat.c') diff --git a/miranda-wine/protocols/Yahoo/chat.c b/miranda-wine/protocols/Yahoo/chat.c new file mode 100644 index 0000000..3263218 --- /dev/null +++ b/miranda-wine/protocols/Yahoo/chat.c @@ -0,0 +1,77 @@ +/* + * $Id: chat.c 3659 2006-08-30 19:43:41Z gena01 $ + * + * myYahoo Miranda Plugin + * + * Authors: Gennady Feldman (aka Gena01) + * Laurent Marechal (aka Peorth) + * + * This code is under GPL and is based on AIM, MSN and Miranda source code. + * I want to thank Robert Rainwater and George Hazan for their code and support + * and for answering some of my questions during development of this plugin. + */ +#include "yahoo.h" +#include +#include +#include + +extern yahoo_local_account * ylad; + +void ext_yahoo_got_im(int id, const char *me, const char *who, const char *msg, long tm, int stat, int utf8, int buddy_icon); + +/* Conference handlers */ +void ext_yahoo_got_conf_invite(int id, const char *me, const char *who, const char *room, const char *msg, YList *members) +{ + char z[1024]; + + _snprintf(z, sizeof(z), Translate("[miranda] Got conference invite to room: %s with msg: %s"), room ?room:"", msg ?msg:""); + LOG(("[ext_yahoo_got_conf_invite] %s", z)); + ext_yahoo_got_im(id, "me", who, z, 0, 0, 1, -1); + + yahoo_conference_decline(ylad->id, NULL, members, room, Translate("I am sorry, but i can't join your conference since this feature is not currently implemented in my client.")); +} + +void ext_yahoo_conf_userdecline(int id, const char *me, const char *who, const char *room, const char *msg) +{ +} + +void ext_yahoo_conf_userjoin(int id, const char *me, const char *who, const char *room) +{ +} + +void ext_yahoo_conf_userleave(int id, const char *me, const char *who, const char *room) +{ +} + +void ext_yahoo_conf_message(int id, const char *me, const char *who, const char *room, const char *msg, int utf8) +{ +} + +/* chat handlers */ +void ext_yahoo_chat_cat_xml(int id, const char *xml) +{ +} + +void ext_yahoo_chat_join(int id, const char *me, const char *room, const char * topic, YList *members, int fd) +{ +} + +void ext_yahoo_chat_userjoin(int id, const char *me, const char *room, struct yahoo_chat_member *who) +{ +} + +void ext_yahoo_chat_userleave(int id, const char *me, const char *room, const char *who) +{ +} +void ext_yahoo_chat_message(int id, const char *me, const char *who, const char *room, const char *msg, int msgtype, int utf8) +{ +} + +void ext_yahoo_chat_yahoologout(int id, const char *me) +{ + LOG(("got chat logout")); +} +void ext_yahoo_chat_yahooerror(int id, const char *me) +{ + LOG(("got chat error")); +} -- cgit v1.2.3