Mercurial > pidgin
annotate libgaim/plugins/perl/common/Connection.xs @ 14717:b1fcd2fc903a
[gaim-migrate @ 17471]
Martijn van Beers provided some patches to rework the perl object
casting/blessing for signal instances in order to let the newly added jabber-*
signals work. This is those patches.
This is also a small whitespace change, a removal of the gaim debug message
about "Found plugin info" it was just pissing me off, and a renamespacing of
gaim_blist_node_get_extended_menu into Gaim::Blist::Node where it makes
slightly more sense.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Thu, 12 Oct 2006 20:38:47 +0000 |
parents | 60b1bc8dbf37 |
children |
rev | line source |
---|---|
14192 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connection_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 Gaim::Account | |
7 gaim_connection_get_account(gc) | |
8 Gaim::Connection gc | |
9 | |
10 const char * | |
11 gaim_connection_get_password(gc) | |
12 Gaim::Connection gc | |
13 | |
14 const char * | |
15 gaim_connection_get_display_name(gc) | |
16 Gaim::Connection gc | |
17 | |
18 void | |
19 gaim_connection_notice(gc, text) | |
20 Gaim::Connection gc | |
21 const char *text | |
22 | |
23 void | |
24 gaim_connection_error(gc, reason) | |
25 Gaim::Connection gc | |
26 const char *reason | |
27 | |
28 void | |
29 gaim_connection_destroy(gc) | |
30 Gaim::Connection gc | |
31 | |
32 void | |
33 gaim_connection_set_state(gc, state) | |
34 Gaim::Connection gc | |
35 Gaim::ConnectionState state | |
36 | |
37 void | |
38 gaim_connection_set_account(gc, account) | |
39 Gaim::Connection gc | |
40 Gaim::Account account | |
41 | |
42 void | |
43 gaim_connection_set_display_name(gc, name) | |
44 Gaim::Connection gc | |
45 const char *name | |
46 | |
47 Gaim::ConnectionState | |
48 gaim_connection_get_state(gc) | |
49 Gaim::Connection gc | |
50 | |
51 MODULE = Gaim::Connection PACKAGE = Gaim::Connections PREFIX = gaim_connections_ | |
52 PROTOTYPES: ENABLE | |
53 | |
54 void | |
55 gaim_connections_disconnect_all() | |
56 | |
57 void | |
58 gaim_connections_get_all() | |
59 PREINIT: | |
60 GList *l; | |
61 PPCODE: | |
62 for (l = gaim_connections_get_all(); l != NULL; l = l->next) { | |
63 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection"))); | |
64 } | |
65 | |
66 void | |
67 gaim_connections_get_connecting() | |
68 PREINIT: | |
69 GList *l; | |
70 PPCODE: | |
71 for (l = gaim_connections_get_connecting(); l != NULL; l = l->next) { | |
72 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection"))); | |
73 } | |
74 | |
75 void | |
76 gaim_connections_set_ui_ops(ops) | |
77 Gaim::Connection::UiOps ops | |
78 | |
79 Gaim::Connection::UiOps | |
80 gaim_connections_get_ui_ops() | |
81 | |
82 void | |
83 gaim_connections_init() | |
84 | |
85 void | |
86 gaim_connections_uninit() | |
87 | |
14717
b1fcd2fc903a
[gaim-migrate @ 17471]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14192
diff
changeset
|
88 Gaim::Handle |
14192 | 89 gaim_connections_get_handle() |