comparison 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
comparison
equal deleted inserted replaced
14714:1d084d1ee6fa 14715:04f03667702f
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */ 24 */
25 #ifndef _GNT_CONV_H 25 #ifndef _GNT_CONV_H
26 #define _GNT_CONV_H 26 #define _GNT_CONV_H
27 27
28 #include <gnt.h>
29 #include <gntwidget.h>
30
28 #include "conversation.h" 31 #include "conversation.h"
29 32
30 /*************************************************************************** 33 /***************************************************************************
31 * @name GNT Conversations API 34 * @name GNT Conversations API
32 ***************************************************************************/ 35 ***************************************************************************/
33 /*@{*/ 36 /*@{*/
37
38 typedef struct _GGConv GGConv;
39 typedef struct _GGConvChat GGConvChat;
40 typedef struct _GGConvIm GGConvIm;
41
42 struct _GGConv
43 {
44 GList *list;
45 GaimConversation *active_conv;
46
47 GntWidget *window; /* the container */
48 GntWidget *entry; /* entry */
49 GntWidget *tv; /* text-view */
50
51 union
52 {
53 GGConvChat *chat;
54 GGConvIm *im;
55 } u;
56 };
57
58 struct _GGConvChat
59 {
60 GntWidget *userlist; /* the userlist */
61 };
62
63 struct _GGConvIm
64 {
65 void *nothing_for_now;
66 };
34 67
35 /** 68 /**
36 * Get the ui-functions. 69 * Get the ui-functions.
37 * 70 *
38 * @return The GaimConversationUiOps populated with the appropriate functions. 71 * @return The GaimConversationUiOps populated with the appropriate functions.