Mercurial > pidgin.yaz
diff plugins/perl/common/BuddyList_Chat.xs @ 6542:fe0294504602
[gaim-migrate @ 7064]
Learn as you go, I guess... Split off the Chat, Group, and Buddy classes
into their own files and bootstrapped them so they'll actually work (I hope
at least).
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 21 Aug 2003 03:23:18 +0000 |
parents | |
children | 12169973c663 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/perl/common/BuddyList_Chat.xs Thu Aug 21 03:23:18 2003 +0000 @@ -0,0 +1,42 @@ +#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 + +Gaim::BuddyList::Group +gaim_blist_chat_get_group(chat) + Gaim::BuddyList::Chat chat +CODE: + RETVAL = gaim_blist_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 + +Gaim::Account +get_account(chat) + Gaim::BuddyList::Chat chat +CODE: + RETVAL = chat->account; +OUTPUT: + RETVAL