diff libpurple/conversation.c @ 32696:1877fd446f8d

Hide struct _PurpleConvChat.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 11:29:43 +0000
parents 968a51c4fa9d
children fe20ff3d4e7a
line wrap: on
line diff
--- a/libpurple/conversation.c	Sat Oct 01 11:02:15 2011 +0000
+++ b/libpurple/conversation.c	Sat Oct 01 11:29:43 2011 +0000
@@ -35,6 +35,26 @@
 
 #define SEND_TYPED_TIMEOUT_SECONDS 5
 
+/**
+ * Data specific to Chats.
+ */
+struct _PurpleConvChat
+{
+	PurpleConversation *conv;          /**< The parent conversation.      */
+
+	GList *in_room;                  /**< The users in the room.
+	                                  *   @deprecated Will be removed in 3.0.0
+									  */
+	GList *ignored;                  /**< Ignored users.                */
+	char  *who;                      /**< The person who set the topic. */
+	char  *topic;                    /**< The topic.                    */
+	int    id;                       /**< The chat ID.                  */
+	char *nick;                      /**< Your nick in this chat.       */
+
+	gboolean left;                   /**< We left the chat and kept the window open */
+	GHashTable *users;               /**< Hash table of the users in the room. */
+};
+
 static GList *conversations = NULL;
 static GList *ims = NULL;
 static GList *chats = NULL;