diff console/gntconv.h @ 14715:04f03667702f

[gaim-migrate @ 17469] Add a lastlog plugin for gaim-text. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 12 Oct 2006 05:29:08 +0000
parents 81650a27f253
children
line wrap: on
line diff
--- a/console/gntconv.h	Thu Oct 12 03:33:07 2006 +0000
+++ b/console/gntconv.h	Thu Oct 12 05:29:08 2006 +0000
@@ -25,6 +25,9 @@
 #ifndef _GNT_CONV_H
 #define _GNT_CONV_H
 
+#include <gnt.h>
+#include <gntwidget.h>
+
 #include "conversation.h"
 
 /***************************************************************************
@@ -32,6 +35,36 @@
  ***************************************************************************/
 /*@{*/
 
+typedef struct _GGConv GGConv;
+typedef struct _GGConvChat GGConvChat;
+typedef struct _GGConvIm GGConvIm;
+
+struct _GGConv
+{
+	GList *list;
+	GaimConversation *active_conv;
+
+	GntWidget *window;        /* the container */
+	GntWidget *entry;         /* entry */
+	GntWidget *tv;            /* text-view */
+
+	union
+	{
+		GGConvChat *chat;
+		GGConvIm *im;
+	} u;
+};
+
+struct _GGConvChat
+{
+	GntWidget *userlist;       /* the userlist */
+};
+
+struct _GGConvIm
+{
+	void *nothing_for_now;
+};
+
 /**
  * Get the ui-functions.
  *