view plugins/perl/common/BuddyList_Chat.xs @ 9251:45d2ad4ac1c1

[gaim-migrate @ 10050] Stu Tomlinson has provided a nice patch to move the separation of IM and Chat windows back into the core from the extplacement plugin. It's awesome to have crazy patch writers, and even better to have crazy patch writers who write what I want to write before I do it, thus saving me the effort. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 09 Jun 2004 20:47:07 +0000
parents 208cb260d7a7
children 7a8aa87164ae
line wrap: on
line source

#include "module.h"

MODULE = Gaim::BuddyList::Chat  PACKAGE = Gaim::BuddyList::Chat  PREFIX = gaim_chat_
PROTOTYPES: ENABLE

void
set_alias(chat, alias)
	Gaim::BuddyList::Chat chat
	const char *alias
CODE:
	gaim_blist_alias_chat(chat, alias);

const char *
gaim_chat_get_display_name(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = gaim_chat_get_display_name(chat);
OUTPUT:
	RETVAL

Gaim::BuddyList::Group
gaim_chat_get_group(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = gaim_chat_get_group(chat);
OUTPUT:
	RETVAL

void
gaim_chat_set_setting(chat, key, value)
	Gaim::BuddyList::Chat chat
	const char *key
	const char *value

const char *
gaim_chat_get_setting(chat, key)
	Gaim::BuddyList::Chat chat
	const char *key
CODE:
	RETVAL = gaim_chat_get_setting(chat, key);
OUTPUT:
	RETVAL

Gaim::Account
get_account(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = chat->account;
OUTPUT:
	RETVAL