# HG changeset patch # User Etan Reisner # Date 1136796133 0 # Node ID 6312f6e69eea087fc091a2e707ece24a4f7aa647 # Parent 651972254c7a15ee1f8032123b84efda18fb848a [gaim-migrate @ 15138] And still more whitespace, namespace, and return type stuff. committer: Tailor Script diff -r 651972254c7a -r 6312f6e69eea plugins/perl/common/Pounce.xs --- a/plugins/perl/common/Pounce.xs Mon Jan 09 08:23:36 2006 +0000 +++ b/plugins/perl/common/Pounce.xs Mon Jan 09 08:42:13 2006 +0000 @@ -3,16 +3,16 @@ MODULE = Gaim::Pounce PACKAGE = Gaim::Pounce PREFIX = gaim_pounce_ PROTOTYPES: ENABLE -void +void gaim_pounce_action_register(pounce, name) Gaim::Pounce pounce const char *name -void +void gaim_pounce_destroy(pounce) Gaim::Pounce pounce -void +void gaim_pounce_destroy_all_by_account(account) Gaim::Account account @@ -32,62 +32,59 @@ gaim_pounce_get_pouncer(pounce) Gaim::Pounce pounce -gboolean +gboolean gaim_pounce_get_save(pounce) Gaim::Pounce pounce -void +void gaim_pounce_set_data(pounce, data) Gaim::Pounce pounce void * data -void +void gaim_pounce_set_events(pounce, events) Gaim::Pounce pounce Gaim::PounceEvent events -void +void gaim_pounce_set_pouncee(pounce, pouncee) Gaim::Pounce pounce const char *pouncee -void +void gaim_pounce_set_pouncer(pounce, pouncer) Gaim::Pounce pounce Gaim::Account pouncer -void +void gaim_pounce_set_save(pounce, save) Gaim::Pounce pounce gboolean save +MODULE = Gaim::Pounce PACKAGE = Gaim::Pounces PREFIX = gaim_pounces_ +PROTOTYPES: ENABLE + void gaim_pounces_get_all() PREINIT: GList *l; PPCODE: for (l = gaim_pounces_get_all(); l != NULL; l = l->next) { - XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Status::Type"))); + XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Pounce"))); } - void * gaim_pounces_get_handle() - -void +void gaim_pounces_init() - -gboolean +gboolean gaim_pounces_load() - -void +void gaim_pounces_uninit() - -void +void gaim_pounces_unregister_handler(ui) const char *ui -