Wed, 13 May 2009 20:29:03 +0000
Support custom smileys in MUCs (when all participants support BoB and a maximum
of 10 participants are in the chat).
Always announce support for BoB, since disable custom smileys will still turn
off fetching them, and BoB can be used for other purposes further on.
| 11118 | 1 | #include "module.h" |
| 2 | ||
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
3 | /* I can't get this to work, both with and without the const on the return |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
4 | * type I get errors from gcc. One way about ignoring types in a cast, and the |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
5 | * other about assigning to read-only variables. |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
6 | const Purple::StatusType |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
7 | purple_savedstatus_substatus_get_type(substatus) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
8 | const Purple::SavedStatus::Sub substatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
9 | */ |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
10 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
11 | MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatus PREFIX = purple_savedstatus_ |
| 11290 | 12 | PROTOTYPES: ENABLE |
| 11118 | 13 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
14 | Purple::SavedStatus |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
15 | purple_savedstatus_new(title, type) |
| 11118 | 16 | const char *title |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
17 | Purple::StatusPrimitive type |
| 11118 | 18 | |
| 12790 | 19 | void |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
20 | purple_savedstatus_set_title(status, title) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
21 | Purple::SavedStatus status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
22 | const char *title |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
23 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
24 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
25 | purple_savedstatus_set_type(status, type) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
26 | Purple::SavedStatus status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
27 | Purple::StatusPrimitive type |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
28 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
29 | 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
|
30 | purple_savedstatus_set_message(status, message) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
31 | Purple::SavedStatus status |
| 11118 | 32 | const char *message |
| 33 | ||
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
34 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
35 | purple_savedstatus_set_substatus(status, account, type, message) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
36 | Purple::SavedStatus status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
37 | Purple::Account account |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
38 | Purple::StatusType type |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
39 | const char *message |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
40 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
41 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
42 | purple_savedstatus_unset_substatus(status, account) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
43 | Purple::SavedStatus status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
44 | Purple::Account account |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
45 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
46 | gboolean |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
47 | purple_savedstatus_delete(title) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
48 | const char *title |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
49 | |
|
17082
3316a891ffa9
disapproval of revision 'aee2b2d67b643d59beb0b75b460c553c804e8220'
Daniel Atallah <datallah@pidgin.im>
parents:
17081
diff
changeset
|
50 | Purple::SavedStatus |
|
3316a891ffa9
disapproval of revision 'aee2b2d67b643d59beb0b75b460c553c804e8220'
Daniel Atallah <datallah@pidgin.im>
parents:
17081
diff
changeset
|
51 | purple_savedstatus_get_current() |
| 13502 | 52 | |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
53 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
54 | purple_savedstatus_get_default() |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
55 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
56 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
57 | purple_savedstatus_get_idleaway() |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
58 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
59 | gboolean |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
60 | purple_savedstatus_is_idleaway() |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
61 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
62 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
63 | purple_savedstatus_set_idleaway(idleaway) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
64 | gboolean idleaway |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
65 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
66 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
67 | purple_savedstatus_get_startup() |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
68 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
69 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
70 | purple_savedstatus_find(title) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
71 | const char *title |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
72 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
73 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
74 | purple_savedstatus_find_by_creation_time(creation_time) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
75 | time_t creation_time |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
76 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
77 | Purple::SavedStatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
78 | purple_savedstatus_find_transient_by_type_and_message(type, message) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
79 | Purple::StatusPrimitive type |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
80 | const char *message |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
81 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
82 | gboolean |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
83 | purple_savedstatus_is_transient(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
84 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
85 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
86 | const char * |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
87 | purple_savedstatus_get_title(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
88 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
89 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
90 | Purple::StatusPrimitive |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
91 | purple_savedstatus_get_type(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
92 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
93 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
94 | const char * |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
95 | purple_savedstatus_get_message(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
96 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
97 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
98 | time_t |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
99 | purple_savedstatus_get_creation_time(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
100 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
101 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
102 | gboolean |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
103 | purple_savedstatus_has_substatuses(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
104 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
105 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
106 | Purple::SavedStatus::Sub |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
107 | purple_savedstatus_get_substatus(saved_status, account) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
108 | Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
109 | Purple::Account account |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
110 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
111 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
112 | purple_savedstatus_activate(saved_status) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
113 | Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
114 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
115 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
116 | purple_savedstatus_activate_for_account(saved_status, account) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
117 | const Purple::SavedStatus saved_status |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
118 | Purple::Account account |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
119 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
120 | MODULE = Purple::SavedStatus::Sub PACKAGE = Purple::SavedStatus::Sub PREFIX = purple_savedstatus_substatus_ |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
121 | PROTOTYPES: ENABLE |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
122 | |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
123 | const char * |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
124 | purple_savedstatus_substatus_get_message(substatus) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
125 | const Purple::SavedStatus::Sub substatus |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
126 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
127 | MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatuses PREFIX = purple_savedstatuses_ |
| 11118 | 128 | PROTOTYPES: ENABLE |
| 129 | ||
| 130 | 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
|
131 | purple_savedstatuses_get_all() |
| 11118 | 132 | PREINIT: |
|
18190
bcf28ef7e8ff
Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@pidgin.im>
parents:
17212
diff
changeset
|
133 | GList *l; |
| 11118 | 134 | PPCODE: |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
135 | for (l = purple_savedstatuses_get_all(); l != NULL; l = l->next) { |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
136 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
| 11118 | 137 | } |
| 138 | ||
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
139 | void |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
140 | purple_savedstatuses_get_popular(how_many) |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
141 | unsigned int how_many |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
142 | PREINIT: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18190
diff
changeset
|
143 | GList *l, *ll; |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
144 | PPCODE: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18190
diff
changeset
|
145 | ll = purple_savedstatuses_get_popular(how_many); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18190
diff
changeset
|
146 | for (l = ll; l != NULL; l = l->next) { |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
147 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
|
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
148 | } |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18190
diff
changeset
|
149 | g_list_free(ll); |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
17082
diff
changeset
|
150 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
151 | 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
|
152 | purple_savedstatuses_get_handle() |