comparison libpurple/conversation.c @ 32234:1877fd446f8d

Hide struct _PurpleConvChat.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 11:29:43 +0000
parents 968a51c4fa9d
children fe20ff3d4e7a
comparison
equal deleted inserted replaced
32233:1d09b9077181 32234:1877fd446f8d
33 #include "signals.h" 33 #include "signals.h"
34 #include "util.h" 34 #include "util.h"
35 35
36 #define SEND_TYPED_TIMEOUT_SECONDS 5 36 #define SEND_TYPED_TIMEOUT_SECONDS 5
37 37
38 /**
39 * Data specific to Chats.
40 */
41 struct _PurpleConvChat
42 {
43 PurpleConversation *conv; /**< The parent conversation. */
44
45 GList *in_room; /**< The users in the room.
46 * @deprecated Will be removed in 3.0.0
47 */
48 GList *ignored; /**< Ignored users. */
49 char *who; /**< The person who set the topic. */
50 char *topic; /**< The topic. */
51 int id; /**< The chat ID. */
52 char *nick; /**< Your nick in this chat. */
53
54 gboolean left; /**< We left the chat and kept the window open */
55 GHashTable *users; /**< Hash table of the users in the room. */
56 };
57
38 static GList *conversations = NULL; 58 static GList *conversations = NULL;
39 static GList *ims = NULL; 59 static GList *ims = NULL;
40 static GList *chats = NULL; 60 static GList *chats = NULL;
41 static PurpleConversationUiOps *default_ops = NULL; 61 static PurpleConversationUiOps *default_ops = NULL;
42 62