comparison libpurple/protocols/qq/group_im.h @ 31191:4deef745de87

2010.01.23 - flos <lonicerae(at)gmail.com> * added an option to force incoming message in chat room to use a default font instead of the font in message itself 2010.01.18 - flos <lonicerae(at)gmail.com> * added type 'UPDCLS' and 'UID' for implementing business logic layer 2010.01.13 - ccpaging <ccpaging(at)gmail.com> * qq2009-1 patch from ccpaging
author SHiNE CsyFeK <csyfek@gmail.com>
date Sun, 06 Feb 2011 05:23:22 +0000
parents da1f0ff50d8a
children
comparison
equal deleted inserted replaced
31190:f0e6aaf942f8 31191:4deef745de87
28 #include <glib.h> 28 #include <glib.h>
29 #include "connection.h" 29 #include "connection.h"
30 #include "conversation.h" 30 #include "conversation.h"
31 #include "group.h" 31 #include "group.h"
32 32
33 enum {
34 QQ_CUSTOM_USE_DEFAULT_FONT = 0x00000001,
35 QQ_CUSTOM_NONE = 0x00000000
36 };
37
33 PurpleConversation *qq_room_conv_open(PurpleConnection *gc, qq_room_data *rmd); 38 PurpleConversation *qq_room_conv_open(PurpleConnection *gc, qq_room_data *rmd);
34 void qq_room_conv_set_onlines(PurpleConnection *gc, qq_room_data *rmd); 39 void qq_room_conv_set_onlines(PurpleConnection *gc, qq_room_data *rmd);
35 40
36 void qq_room_got_chat_in(PurpleConnection *gc, 41 void qq_room_got_chat_in(PurpleConnection *gc,
37 guint32 room_id, guint32 uid_from, const gchar *msg, time_t in_time); 42 guint32 room_id, UID uid_from, const gchar *msg, time_t in_time);
38 43
39 int qq_chat_send(PurpleConnection *gc, int id, const char *message, PurpleMessageFlags flags); 44 int qq_chat_send(PurpleConnection *gc, int id, const char *message, PurpleMessageFlags flags);
40 void qq_process_room_send_im(PurpleConnection *gc, guint8 *data, gint len); 45 void qq_process_room_send_im(PurpleConnection *gc, guint8 *data, gint len);
41 void qq_process_room_send_im_ex(PurpleConnection *gc, guint8 *data, gint len); 46 void qq_process_room_send_im_ex(PurpleConnection *gc, guint8 *data, gint len);
42 47
43 void qq_process_room_im(guint8 *data, gint data_len, guint32 id, PurpleConnection *gc, guint16 msg_type); 48 void qq_process_room_im(guint8 *data, gint data_len, guint32 id, PurpleConnection *gc, guint16 msg_type);
44 49
45 #endif 50 #endif
51