gntconv.h File Reference

GNT Conversation API. More...

#include <gnt.h>
#include <gntwidget.h>
#include <gntmenuitem.h>
#include "conversation.h"

Go to the source code of this file.

Data Structures

struct  _FinchConv
struct  _FinchConvChat
struct  _FinchConvIm

Defines

#define FINCH_CONV(conv)   ((FinchConv *)(conv)->ui_data)
enum  FinchConversationFlag { FINCH_CONV_NO_SOUND = 1 << 0 }
typedef struct _FinchConv FinchConv
typedef struct _FinchConvChat FinchConvChat
typedef struct _FinchConvIm FinchConvIm
PurpleConversationUiOpsfinch_conv_get_ui_ops (void)
 Get the ui-functions.
void finch_conversation_init (void)
 Perform the necessary initializations.
void finch_conversation_uninit (void)
 Perform the necessary uninitializations.
void finch_conversation_set_active (PurpleConversation *conv)
 Set a conversation as active in a contactized conversation.
void finch_conversation_set_info_widget (PurpleConversation *conv, GntWidget *widget)
 Sets the information widget for the conversation window.


Detailed Description

GNT Conversation API.

Definition in file gntconv.h.


Function Documentation

PurpleConversationUiOps* finch_conv_get_ui_ops ( void   ) 

Get the ui-functions.

Returns:
The PurpleConversationUiOps populated with the appropriate functions.

void finch_conversation_set_active ( PurpleConversation conv  ) 

Set a conversation as active in a contactized conversation.

Parameters:
conv The conversation to make active.

void finch_conversation_set_info_widget ( PurpleConversation conv,
GntWidget *  widget 
)

Sets the information widget for the conversation window.

Parameters:
conv The conversation.
widget The widget containing the information. If NULL, the current information widget is removed.