Mercurial > pidgin.yaz
diff libpurple/plugins/perl/common/SavedStatuses.xs @ 17038:2c5654d1a17a
disapproval of revision '105009e066f1bcaefb0af3bd1e17b7860bf12a57'
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 11 May 2007 15:41:51 +0000 |
parents | 9a1d36a4573e |
children | ae2edfa3de1f |
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/SavedStatuses.xs Fri May 11 15:07:13 2007 +0000 +++ b/libpurple/plugins/perl/common/SavedStatuses.xs Fri May 11 15:41:51 2007 +0000 @@ -3,15 +3,6 @@ MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatus PREFIX = purple_savedstatus_ PROTOTYPES: ENABLE -void -purple_savedstatus_activate(saved_status) - Purple::SavedStatus saved_status - -void -purple_savedstatus_activate_for_account(saved_status, account) - Purple::SavedStatus saved_status - Purple::Account account - gboolean purple_savedstatus_delete(title) const char *title @@ -20,57 +11,16 @@ purple_savedstatus_find(title) const char *title -Purple::SavedStatus -purple_savedstatus_find_by_creation_time(creation_time) - time_t creation_time - -Purple::SavedStatus -purple_savedstatus_find_transient_by_type_and_message(type, message) - Purple::StatusPrimitive type - const char *message - -time_t -purple_savedstatus_get_creation_time(saved_status) - Purple::SavedStatus saved_status - -Purple::SavedStatus -purple_savedstatus_get_current() - -Purple::SavedStatus -purple_savedstatus_get_default () - -Purple::SavedStatus -purple_savedstatus_get_idleaway() - const char * purple_savedstatus_get_message(saved_status) Purple::SavedStatus saved_status -Purple::SavedStatus -purple_savedstatus_get_startup() - -Purple::SavedStatusSub -purple_savedstatus_get_substatus(saved_status, account) - Purple::SavedStatus saved_status - Purple::Account account - const char * purple_savedstatus_get_title(saved_status) Purple::SavedStatus saved_status Purple::StatusPrimitive purple_savedstatus_get_type(saved_status) - const Purple::SavedStatus saved_status - -gboolean -purple_savedstatus_has_substatuses(saved_status) - Purple::SavedStatus saved_status - -gboolean -purple_savedstatus_is_idleaway() - -gboolean -purple_savedstatus_is_transient(saved_status) Purple::SavedStatus saved_status Purple::SavedStatus @@ -79,43 +29,12 @@ Purple::StatusPrimitive type void -purple_savedstatus_set_idleaway(idleaway) - gboolean idleaway - -void purple_savedstatus_set_message(status, message) Purple::SavedStatus status const char *message -void -purple_savedstatus_set_substatus(status, account, type, message) - Purple::SavedStatus status - Purple::Account account - Purple::StatusType type - const char *message - -void -purple_savedstatus_set_title(status, title) - Purple::SavedStatus status - const char *title - -void -purple_savedstatus_set_type(status, type) - Purple::SavedStatus status - Purple::StatusPrimitive type - -const char * -purple_savedstatus_substatus_get_message(substatus) - Purple::SavedStatusSub substatus - -const Purple::StatusType -purple_savedstatus_substatus_get_type(substatus) - const Purple::SavedStatusSub substatus - -void -purple_savedstatus_unset_substatus(saved_status, account) - Purple::SavedStatus saved_status - Purple::Account account +Purple::SavedStatus +purple_savedstatus_get_current() MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatuses PREFIX = purple_savedstatuses_ PROTOTYPES: ENABLE @@ -133,16 +52,6 @@ purple_savedstatuses_get_handle() void -purple_savedstatuses_get_popular(how_many) - unsigned int how_many -PREINIT: - GList *l; -PPCODE: - for (l = purple_savedstatuses_get_popular(how_many); l != NULL; l = l->next) { - XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); - } - -void purple_savedstatuses_init() void