Mercurial > pidgin.yaz
annotate plugins/perl/common/BuddyList_Chat.xs @ 6699:12169973c663
[gaim-migrate @ 7225]
Perl compiles with the new contact stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 02 Sep 2003 03:56:08 +0000 |
parents | fe0294504602 |
children | b0913ab92893 |
rev | line source |
---|---|
6542 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::BuddyList::Chat PACKAGE = Gaim::BuddyList::Chat PREFIX = gaim_chat_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 void | |
7 set_alias(chat, alias) | |
8 Gaim::BuddyList::Chat chat | |
9 const char *alias | |
10 CODE: | |
11 gaim_blist_alias_chat(chat, alias); | |
12 | |
13 const char * | |
14 gaim_chat_get_display_name(chat) | |
15 Gaim::BuddyList::Chat chat | |
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
16 CODE: |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
17 RETVAL = gaim_blist_chat_get_display_name(chat); |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
18 OUTPUT: |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
19 RETVAL |
6542 | 20 |
21 Gaim::BuddyList::Group | |
22 gaim_blist_chat_get_group(chat) | |
23 Gaim::BuddyList::Chat chat | |
24 CODE: | |
25 RETVAL = gaim_blist_chat_get_group(chat); | |
26 OUTPUT: | |
27 RETVAL | |
28 | |
29 void | |
30 gaim_chat_set_setting(chat, key, value) | |
31 Gaim::BuddyList::Chat chat | |
32 const char *key | |
33 const char *value | |
34 | |
35 const char * | |
36 gaim_chat_get_setting(chat, key) | |
37 Gaim::BuddyList::Chat chat | |
38 const char *key | |
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
39 CODE: |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
40 RETVAL = gaim_blist_chat_get_setting(chat, key); |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
41 OUTPUT: |
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6542
diff
changeset
|
42 RETVAL |
6542 | 43 |
44 Gaim::Account | |
45 get_account(chat) | |
46 Gaim::BuddyList::Chat chat | |
47 CODE: | |
48 RETVAL = chat->account; | |
49 OUTPUT: | |
50 RETVAL |