Tue, 18 Mar 2014 13:45:52 +0100
Remove _PurpleChatConversationPrivate->in_room
| 6591 | 1 | #include "module.h" |
| 2 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
3 | MODULE = Purple::Conversation PACKAGE = Purple PREFIX = purple_ |
| 12819 | 4 | PROTOTYPES: ENABLE |
| 5 | ||
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
6 | BOOT: |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
7 | { |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
8 | HV *update_stash = gv_stashpv("Purple::Conversation::UpdateType", 1); |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
9 | HV *typing_stash = gv_stashpv("Purple::IMTypingState", 1); |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34617
diff
changeset
|
10 | HV *flags_stash = gv_stashpv("Purple::MessageFlags", 1); |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
11 | HV *cbflags_stash = gv_stashpv("Purple::ChatUser::Flags", 1); |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
12 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
13 | static const constiv *civ, update_const_iv[] = { |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
14 | #undef const_iv |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
15 | #define const_iv(name) {#name, (IV)PURPLE_CONVERSATION_UPDATE_##name} |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
16 | const_iv(ADD), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
17 | const_iv(REMOVE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
18 | const_iv(ACCOUNT), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
19 | const_iv(TYPING), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
20 | const_iv(UNSEEN), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
21 | const_iv(LOGGING), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
22 | const_iv(TOPIC), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
23 | /* |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
24 | const_iv(ONLINE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
25 | const_iv(OFFLINE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
26 | */ |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
27 | const_iv(AWAY), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
28 | const_iv(ICON), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
29 | const_iv(TITLE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
30 | const_iv(CHATLEFT), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
31 | const_iv(FEATURES), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
32 | }; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
33 | static const constiv typing_const_iv[] = { |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
34 | #undef const_iv |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
35 | #define const_iv(name) {#name, (IV)PURPLE_IM_##name} |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
36 | const_iv(NOT_TYPING), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
37 | const_iv(TYPING), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
38 | const_iv(TYPED), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
39 | }; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
40 | static const constiv flags_const_iv[] = { |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
41 | #undef const_iv |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34617
diff
changeset
|
42 | #define const_iv(name) {#name, (IV)PURPLE_MESSAGE_##name} |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
43 | const_iv(SEND), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
44 | const_iv(RECV), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
45 | const_iv(SYSTEM), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
46 | const_iv(AUTO_RESP), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
47 | const_iv(ACTIVE_ONLY), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
48 | const_iv(NICK), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
49 | const_iv(NO_LOG), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
50 | const_iv(WHISPER), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
51 | const_iv(ERROR), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
52 | const_iv(DELAYED), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
53 | const_iv(RAW), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
54 | const_iv(IMAGES), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
55 | const_iv(NOTIFY), |
|
18282
7f893fd24e1f
Add NO_LINKIFY message flag for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18122
diff
changeset
|
56 | const_iv(NO_LINKIFY), |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
57 | }; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
58 | static const constiv cbflags_const_iv[] = { |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
59 | #undef const_iv |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
60 | #define const_iv(name) {#name, (IV)PURPLE_CHAT_USER_##name} |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
61 | const_iv(NONE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
62 | const_iv(VOICE), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
63 | const_iv(HALFOP), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
64 | const_iv(OP), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
65 | const_iv(FOUNDER), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
66 | const_iv(TYPING), |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
67 | }; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
68 | |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
69 | for (civ = update_const_iv + sizeof(update_const_iv) / sizeof(update_const_iv[0]); civ-- > update_const_iv; ) |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
70 | newCONSTSUB(update_stash, (char *)civ->name, newSViv(civ->iv)); |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
71 | |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
72 | for (civ = typing_const_iv + sizeof(typing_const_iv) / sizeof(typing_const_iv[0]); civ-- > typing_const_iv; ) |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
73 | newCONSTSUB(typing_stash, (char *)civ->name, newSViv(civ->iv)); |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
74 | |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
75 | for (civ = flags_const_iv + sizeof(flags_const_iv) / sizeof(flags_const_iv[0]); civ-- > flags_const_iv; ) |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
76 | newCONSTSUB(flags_stash, (char *)civ->name, newSViv(civ->iv)); |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
77 | |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
78 | for (civ = cbflags_const_iv + sizeof(cbflags_const_iv) / sizeof(cbflags_const_iv[0]); civ-- > cbflags_const_iv; ) |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
79 | newCONSTSUB(cbflags_stash, (char *)civ->name, newSViv(civ->iv)); |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
80 | } |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15894
diff
changeset
|
81 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
82 | MODULE = Purple::Conversation PACKAGE = Purple::Conversations PREFIX = purple_conversations_ |
| 11123 | 83 | PROTOTYPES: ENABLE |
| 84 | ||
|
34646
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
85 | void |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
86 | purple_conversations_add(conv) |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
87 | Purple::Conversation conv |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
88 | |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
89 | void |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
90 | purple_conversations_remove(conv) |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
91 | Purple::Conversation conv |
|
e7f4631e93f7
Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents:
34632
diff
changeset
|
92 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
93 | Purple::Handle |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
94 | purple_conversations_get_handle() |
| 11123 | 95 | |
|
34632
ebe6b2a60305
Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents:
34621
diff
changeset
|
96 | Purple::ChatConversation |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
97 | purple_conversations_find_chat(gc, id) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
98 | Purple::Connection gc |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
99 | int id |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
100 | |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
101 | void |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
102 | purple_conversations_get_ims() |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
103 | PREINIT: |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
104 | GList *l; |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
105 | PPCODE: |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
106 | for (l = purple_conversations_get_ims(); l != NULL; l = l->next) { |
|
34656
adbcbe04077c
Refactored remaining libpurple to use the GObject conversation API
Ankit Vani <a@nevitus.org>
parents:
34652
diff
changeset
|
107 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::IMConversation"))); |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
108 | } |
| 11123 | 109 | |
| 110 | void | |
|
34656
adbcbe04077c
Refactored remaining libpurple to use the GObject conversation API
Ankit Vani <a@nevitus.org>
parents:
34652
diff
changeset
|
111 | purple_conversations_get_all() |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
112 | PREINIT: |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
113 | GList *l; |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
114 | PPCODE: |
|
34656
adbcbe04077c
Refactored remaining libpurple to use the GObject conversation API
Ankit Vani <a@nevitus.org>
parents:
34652
diff
changeset
|
115 | for (l = purple_conversations_get_all(); l != NULL; l = l->next) { |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
116 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Conversation"))); |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
117 | } |
| 11123 | 118 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
119 | void |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
120 | purple_conversations_get_chats() |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
121 | PREINIT: |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
122 | GList *l; |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
123 | PPCODE: |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
124 | for (l = purple_conversations_get_chats(); l != NULL; l = l->next) { |
|
34656
adbcbe04077c
Refactored remaining libpurple to use the GObject conversation API
Ankit Vani <a@nevitus.org>
parents:
34652
diff
changeset
|
125 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::ChatConversation"))); |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
126 | } |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
127 | |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
128 | Purple::Conversation |
|
34617
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
129 | purple_conversations_find_with_account(name, account) |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
130 | const char *name |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
131 | Purple::Account account |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
132 | |
|
34632
ebe6b2a60305
Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents:
34621
diff
changeset
|
133 | Purple::ChatConversation |
|
34617
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
134 | purple_conversations_find_chat_with_account(name, account) |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
135 | const char *name |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
136 | Purple::Account account |
|
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
137 | |
|
34632
ebe6b2a60305
Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents:
34621
diff
changeset
|
138 | Purple::IMConversation |
|
34617
89233fea4432
Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents:
34616
diff
changeset
|
139 | purple_conversations_find_im_with_account(name, account) |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
140 | const char *name |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
141 | Purple::Account account |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
142 | |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
143 | MODULE = Purple::Conversation PACKAGE = Purple::Conversation PREFIX = purple_conversation_ |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
144 | PROTOTYPES: ENABLE |
| 6591 | 145 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
146 | Purple::Account |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
147 | purple_conversation_get_account(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
148 | Purple::Conversation conv |
| 6591 | 149 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
150 | Purple::Connection |
|
32698
154e4a2a6287
Our API really shouldn't have a 'gc' in it anymore.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32336
diff
changeset
|
151 | purple_conversation_get_connection(conv) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
152 | Purple::Conversation conv |
| 6591 | 153 | |
| 11581 | 154 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
155 | purple_conversation_set_title(conv, title); |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
156 | Purple::Conversation conv |
| 11123 | 157 | const char * title |
| 6591 | 158 | |
| 11123 | 159 | const char * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
160 | purple_conversation_get_title(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
161 | Purple::Conversation conv |
| 11123 | 162 | |
| 11581 | 163 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
164 | purple_conversation_autoset_title(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
165 | Purple::Conversation conv |
| 6591 | 166 | |
| 11581 | 167 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
168 | purple_conversation_set_name(conv, name) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
169 | Purple::Conversation conv |
| 11123 | 170 | const char *name |
| 171 | ||
| 6591 | 172 | const char * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
173 | purple_conversation_get_name(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
174 | Purple::Conversation conv |
| 11581 | 175 | |
| 176 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
177 | purple_conversation_set_logging(conv, log) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
178 | Purple::Conversation conv |
| 6591 | 179 | gboolean log |
| 180 | ||
| 11581 | 181 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
182 | purple_conversation_is_logging(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
183 | Purple::Conversation conv |
| 6591 | 184 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
185 | Purple::ConnectionFlags |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
186 | purple_conversation_get_features(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
187 | Purple::Conversation conv |
| 11123 | 188 | |
| 11581 | 189 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
190 | purple_conversation_has_focus(conv) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
191 | Purple::Conversation conv |
| 11123 | 192 | |
| 11581 | 193 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
194 | purple_conversation_update(conv, type) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
195 | Purple::Conversation conv |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
196 | Purple::Conversation::UpdateType type |
| 11581 | 197 | |
| 198 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
199 | purple_conversation_set_account(conv, account); |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
200 | Purple::Conversation conv |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
201 | Purple::Account account |
| 11581 | 202 | |
|
17268
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
203 | void |
|
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
204 | purple_conversation_write(conv, who, message, flags, mtime) |
|
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
205 | Purple::Conversation conv |
|
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
206 | const char *who |
|
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
207 | const char *message |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34617
diff
changeset
|
208 | Purple::MessageFlags flags |
|
17268
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
209 | time_t mtime |
|
de9f01003194
Expose _conversation_write and _conversation_do_command for perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16773
diff
changeset
|
210 | |
|
34613
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
211 | void |
|
34616
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
212 | purple_conversation_write_message(conv, who, message, flags, mtime) |
|
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
213 | Purple::Conversation conv |
|
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
214 | const char *who |
|
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
215 | const char *message |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34617
diff
changeset
|
216 | Purple::MessageFlags flags |
|
34616
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
217 | time_t mtime |
|
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
218 | |
|
1604c574cdc9
Added write_message and send_message to Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34613
diff
changeset
|
219 | void |
|
34613
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
220 | purple_conversation_send(conv, message) |
|
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
221 | Purple::Conversation conv |
|
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
222 | const char *message |
|
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
223 | |
|
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
224 | void |
|
34652
65a6bfb86d43
Updated libpurple plugins with the API changes
Ankit Vani <a@nevitus.org>
parents:
34646
diff
changeset
|
225 | purple_conversation_send_with_flags(conv, message, flags) |
|
34613
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
226 | Purple::Conversation conv |
|
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
227 | const char *message |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34617
diff
changeset
|
228 | Purple::MessageFlags flags |
|
34613
59e3b109ab38
Added send() and send_with_flags() methods in Conversation.xs
Ankit Vani <a@nevitus.org>
parents:
34609
diff
changeset
|
229 | |
|
33577
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
230 | gboolean |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
231 | purple_conversation_do_command(conv, cmdline, markup, error) |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
232 | Purple::Conversation conv |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
233 | const char *cmdline |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
234 | const char *markup |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
235 | char **error |
|
e614c5283d96
Revert my revision 485b1a932990
Mark Doliner <mark@kingant.net>
parents:
33569
diff
changeset
|
236 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
237 | MODULE = Purple::Conversation PACKAGE = Purple::IMConversation PREFIX = purple_im_conversation_ |
| 11123 | 238 | PROTOTYPES: ENABLE |
| 239 | ||
|
34632
ebe6b2a60305
Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents:
34621
diff
changeset
|
240 | Purple::IMConversation |
|
34609
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
241 | purple_im_conversation_new(class, account, name) |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
242 | Purple::Account account |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
243 | const char *name |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
244 | C_ARGS: |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
245 | account, name |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
246 | |
| 11581 | 247 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
248 | purple_im_conversation_set_icon(im, icon) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
249 | Purple::IMConversation im |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
250 | Purple::Buddy::Icon icon |
| 11123 | 251 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
252 | Purple::Buddy::Icon |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
253 | purple_im_conversation_get_icon(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
254 | Purple::IMConversation im |
| 11123 | 255 | |
| 11581 | 256 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
257 | purple_im_conversation_set_typing_state(im, state) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
258 | Purple::IMConversation im |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
259 | Purple::IMTypingState state |
| 11123 | 260 | |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
261 | Purple::IMTypingState |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
262 | purple_im_conversation_get_typing_state(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
263 | Purple::IMConversation im |
| 11123 | 264 | |
| 11581 | 265 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
266 | purple_im_conversation_start_typing_timeout(im, timeout) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
267 | Purple::IMConversation im |
| 11123 | 268 | int timeout |
| 269 | ||
| 11581 | 270 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
271 | purple_im_conversation_stop_typing_timeout(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
272 | Purple::IMConversation im |
| 11123 | 273 | |
| 11581 | 274 | guint |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
275 | purple_im_conversation_get_typing_timeout(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
276 | Purple::IMConversation im |
| 11123 | 277 | |
| 11581 | 278 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
279 | purple_im_conversation_set_type_again(im, val) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
280 | Purple::IMConversation im |
| 11123 | 281 | time_t val |
| 282 | ||
| 283 | time_t | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
284 | purple_im_conversation_get_type_again(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
285 | Purple::IMConversation im |
| 11123 | 286 | |
| 11581 | 287 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
288 | purple_im_conversation_start_send_typed_timeout(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
289 | Purple::IMConversation im |
| 11123 | 290 | |
| 11581 | 291 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
292 | purple_im_conversation_stop_send_typed_timeout(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
293 | Purple::IMConversation im |
| 11123 | 294 | |
| 11581 | 295 | guint |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
296 | purple_im_conversation_get_send_typed_timeout(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
297 | Purple::IMConversation im |
| 11123 | 298 | |
| 11581 | 299 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
300 | purple_im_conversation_update_typing(im) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
301 | Purple::IMConversation im |
| 11123 | 302 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
303 | MODULE = Purple::Conversation PACKAGE = Purple::Conversation::Helper PREFIX = purple_conversation_helper_ |
| 11123 | 304 | PROTOTYPES: ENABLE |
| 305 | ||
| 11581 | 306 | gboolean |
|
34868
faa5b053f310
Replaced purple_conversation_helper_present_error() with simpler purple_conversation_present_error()
Ankit Vani <a@nevitus.org>
parents:
34682
diff
changeset
|
307 | purple_conversation_present_error(who, account, what) |
| 11123 | 308 | const char *who |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
309 | Purple::Account account |
| 12819 | 310 | const char *what |
| 11123 | 311 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
312 | MODULE = Purple::Conversation PACKAGE = Purple::Conversation PREFIX = purple_conversation_ |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
313 | PROTOTYPES: ENABLE |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
314 | |
| 11581 | 315 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
316 | purple_conversation_custom_smiley_close(conv, smile) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
317 | Purple::Conversation conv |
| 11123 | 318 | const char *smile |
| 319 | ||
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
320 | MODULE = Purple::Conversation PACKAGE = Purple::ChatConversation PREFIX = purple_chat_conversation_ |
| 6591 | 321 | PROTOTYPES: ENABLE |
| 322 | ||
|
34632
ebe6b2a60305
Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents:
34621
diff
changeset
|
323 | Purple::ChatConversation |
|
34609
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
324 | purple_chat_conversation_new(class, account, name) |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
325 | Purple::Account account |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
326 | const char *name |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
327 | C_ARGS: |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
328 | account, name |
|
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
329 | |
| 11123 | 330 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
331 | purple_chat_conversation_get_users(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
332 | Purple::ChatConversation chat |
| 11123 | 333 | PREINIT: |
|
35639
7391a9c98a1d
Remove _PurpleChatConversationPrivate->in_room
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35307
diff
changeset
|
334 | GList *l, *users; |
| 11123 | 335 | PPCODE: |
|
35639
7391a9c98a1d
Remove _PurpleChatConversationPrivate->in_room
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35307
diff
changeset
|
336 | users = purple_chat_conversation_get_users(chat); |
|
7391a9c98a1d
Remove _PurpleChatConversationPrivate->in_room
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35307
diff
changeset
|
337 | for (l = users; l != NULL; l = l->next) { |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
338 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::ListEntry"))); |
| 11123 | 339 | } |
|
35639
7391a9c98a1d
Remove _PurpleChatConversationPrivate->in_room
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35307
diff
changeset
|
340 | g_list_free(users); |
| 11123 | 341 | |
| 11581 | 342 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
343 | purple_chat_conversation_ignore(chat, name) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
344 | Purple::ChatConversation chat |
| 11123 | 345 | const char *name |
| 346 | ||
| 11581 | 347 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
348 | purple_chat_conversation_unignore(chat, name) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
349 | Purple::ChatConversation chat |
| 11123 | 350 | const char *name |
| 351 | ||
| 11581 | 352 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
353 | purple_chat_conversation_set_ignored(chat, ignored) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
354 | Purple::ChatConversation chat |
| 11123 | 355 | SV * ignored |
| 356 | PREINIT: | |
| 357 | GList *l, *t_GL; | |
| 358 | int i, t_len; | |
| 359 | PPCODE: | |
| 360 | t_GL = NULL; | |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
361 | t_len = av_len((AV *)SvRV(ignored)); |
| 11123 | 362 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
363 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
21737
diff
changeset
|
364 | t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(ignored), i, 0))); |
| 11123 | 365 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
366 | for (l = purple_chat_conversation_set_ignored(chat, t_GL); l != NULL; l = l->next) { |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
367 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::ListEntry"))); |
| 11123 | 368 | } |
| 369 | ||
| 370 | void | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
371 | purple_chat_conversation_get_ignored(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
372 | Purple::ChatConversation chat |
| 6591 | 373 | PREINIT: |
|
18122
9bf9970c1b6a
disapproval of revision '2d8ea56b90971e7851442d96b7d74ecb4f052126'
Richard Laager <rlaager@pidgin.im>
parents:
18121
diff
changeset
|
374 | GList *l; |
| 6591 | 375 | PPCODE: |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
376 | for (l = purple_chat_conversation_get_ignored(chat); l != NULL; l = l->next) { |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
377 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::ListEntry"))); |
| 11123 | 378 | } |
| 379 | ||
| 380 | const char * | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
381 | purple_chat_conversation_get_topic(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
382 | Purple::ChatConversation chat |
| 11123 | 383 | |
| 11581 | 384 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
385 | purple_chat_conversation_set_id(chat, id) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
386 | Purple::ChatConversation chat |
| 11123 | 387 | int id |
| 388 | ||
| 11581 | 389 | int |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
390 | purple_chat_conversation_get_id(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
391 | Purple::ChatConversation chat |
| 11123 | 392 | |
| 11581 | 393 | void |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
394 | purple_chat_conversation_add_users(chat, users, extra_msgs, flags, new_arrivals) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
395 | Purple::ChatConversation chat |
| 11123 | 396 | SV * users |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
397 | SV * extra_msgs |
| 11123 | 398 | SV * flags |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
399 | gboolean new_arrivals |
| 11123 | 400 | PREINIT: |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
401 | GList *t_GL_users, *t_GL_extra_msgs, *t_GL_flags; |
| 11123 | 402 | int i, t_len; |
| 403 | PPCODE: | |
| 404 | t_GL_users = NULL; | |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
405 | t_len = av_len((AV *)SvRV(users)); |
| 11123 | 406 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
407 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
21737
diff
changeset
|
408 | t_GL_users = g_list_append(t_GL_users, SvPVutf8_nolen(*av_fetch((AV *)SvRV(users), i, 0))); |
| 11123 | 409 | |
| 410 | t_GL_flags = NULL; | |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
411 | t_len = av_len((AV *)SvRV(flags)); |
| 11123 | 412 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
413 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
21737
diff
changeset
|
414 | t_GL_flags = g_list_append(t_GL_flags, SvPVutf8_nolen(*av_fetch((AV *)SvRV(flags), i, 0))); |
| 11123 | 415 | |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
416 | t_GL_extra_msgs = NULL; |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
417 | t_len = av_len((AV *)SvRV(extra_msgs)); |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
418 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
419 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
21737
diff
changeset
|
420 | t_GL_extra_msgs = g_list_append(t_GL_extra_msgs, SvPVutf8_nolen(*av_fetch((AV *)SvRV(extra_msgs), i, 0))); |
|
11456
ed9863eb788f
[gaim-migrate @ 13695]
Richard Laager <rlaager@pidgin.im>
parents:
11290
diff
changeset
|
421 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
422 | purple_chat_conversation_add_users(chat, t_GL_users, t_GL_extra_msgs, t_GL_flags, new_arrivals); |
| 11581 | 423 | |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18282
diff
changeset
|
424 | g_list_free(t_GL_users); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18282
diff
changeset
|
425 | g_list_free(t_GL_extra_msgs); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18282
diff
changeset
|
426 | g_list_free(t_GL_flags); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18282
diff
changeset
|
427 | |
| 11581 | 428 | gboolean |
|
34652
65a6bfb86d43
Updated libpurple plugins with the API changes
Ankit Vani <a@nevitus.org>
parents:
34646
diff
changeset
|
429 | purple_chat_conversation_has_user(chat, user) |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
430 | Purple::ChatConversation chat |
| 11123 | 431 | const char * user |
| 432 | ||
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
433 | void purple_chat_conversation_clear_users(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
434 | Purple::ChatConversation chat |
| 11123 | 435 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
436 | void purple_chat_conversation_set_nick(chat, nick) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
437 | Purple::ChatConversation chat |
| 11123 | 438 | const char * nick |
| 439 | ||
| 440 | const char * | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
441 | purple_chat_conversation_get_nick(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
442 | Purple::ChatConversation chat |
| 11123 | 443 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
444 | void purple_chat_conversation_leave(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
445 | Purple::ChatConversation chat |
| 11123 | 446 | |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
447 | gboolean purple_chat_conversation_has_left(chat) |
|
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
448 | Purple::ChatConversation chat |
| 11123 | 449 | |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
450 | Purple::ChatUser |
|
34671
ca9b45be7a63
Renamed chat buddy to chat user in a few more places
Ankit Vani <a@nevitus.org>
parents:
34670
diff
changeset
|
451 | purple_chat_conversation_find_user(chat, name) |
|
34608
3feba564faed
Refactored libpurple/plugins/perl to use GObject-based PurpleConversation API
Ankit Vani <a@nevitus.org>
parents:
33577
diff
changeset
|
452 | Purple::ChatConversation chat |
| 11123 | 453 | const char *name |
| 454 | ||
| 455 | const char * | |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
456 | purple_chat_user_get_name(cb) |
|
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34656
diff
changeset
|
457 | Purple::ChatUser cb |