gntconv.h File Reference

GNT Conversation API

finch. More...

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

Include dependency graph for gntconv.h:

Go to the source code of this file.

Data Structures

struct  _FinchConv
struct  _FinchConvChat
struct  _FinchConvIm
typedef _FinchConv FinchConv
typedef _FinchConvChat FinchConvChat
typedef _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.

Defines

#define FINCH_CONV(conv)   ((FinchConv *)(conv)->ui_data)


Detailed Description

GNT Conversation API

finch.

Finch is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


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.