Sun, 30 Oct 2005 23:00:47 +0000
[gaim-migrate @ 14198]
sf patch #1342817, from Evan Schoenberg
"As discussed in #gaim, this patch removes idle.c and replaces it
with gtkidle.c and gtkidle.h. The attached diff removes the idle
management from its various hiding places in connection.c, server.c,
and gaim.h. The plugins Changelog.API is appropriately updated.
The new gtkidle files are attached; idle.c should be removed from
CVS."
committer: Mark Doliner <markdoliner@pidgin.im>
| 11118 | 1 | #include "module.h" |
| 2 | ||
| 3 | MODULE = Gaim::Prpl PACKAGE = Gaim::Find PREFIX = gaim_find_ | |
| 4 | PROTOTYPES: ENABLE | |
| 5 | ||
| 6 | Gaim::Plugin | |
| 7 | gaim_find_prpl(id) | |
| 8 | const char *id | |
| 9 | ||
| 10 | ||
| 11 | MODULE = Gaim::Prpl PACKAGE = Gaim::Prpl PREFIX = gaim_prpl_ | |
| 12 | PROTOTYPES: ENABLE | |
| 13 | ||
| 14 | ||
| 15 | void | |
| 16 | gaim_prpl_change_account_status(account, old_status, new_status) | |
| 17 | Gaim::Account account | |
| 18 | Gaim::Status old_status | |
| 19 | Gaim::Status new_status | |
| 20 | ||
| 21 | void | |
| 22 | gaim_prpl_get_statuses(account, presence) | |
| 23 | Gaim::Account account | |
| 24 | Gaim::Presence presence | |
| 25 | PREINIT: | |
| 26 | GList *l; | |
| 27 | PPCODE: | |
| 28 | for (l = gaim_prpl_get_statuses(account,presence); l != NULL; l = l->next) { | |
| 29 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListItem"))); | |
| 30 | } | |
| 31 | ||
| 32 | ||
| 33 | ||
| 34 | void | |
| 35 | gaim_prpl_got_account_idle(account, idle, idle_time) | |
| 36 | Gaim::Account account | |
| 37 | gboolean idle | |
| 38 | time_t idle_time | |
| 39 | ||
| 40 | void | |
| 41 | gaim_prpl_got_account_login_time(account, login_time) | |
| 42 | Gaim::Account account | |
| 43 | time_t login_time | |
| 44 | ||
| 45 | void | |
| 46 | gaim_prpl_got_user_idle(account, name, idle, idle_time) | |
| 47 | Gaim::Account account | |
| 48 | const char *name | |
| 49 | gboolean idle | |
| 50 | time_t idle_time | |
| 51 | ||
| 52 | void | |
| 53 | gaim_prpl_got_user_login_time(account, name, login_time) | |
| 54 | Gaim::Account account | |
| 55 | const char *name | |
| 56 | time_t login_time | |
| 57 |