Mercurial > pidgin
diff plugins/perl/perl-common.h @ 12872:59ff3e1c874e
[gaim-migrate @ 15224]
Perl plugins can now each have their own plugin pref frame. Plugin actions are
still limited to one per plugin I'll deal with that a bit later.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Sat, 14 Jan 2006 08:28:05 +0000 |
parents | 2422097a7a5e |
children | b457aa723bab |
line wrap: on
line diff
--- a/plugins/perl/perl-common.h Sat Jan 14 07:12:46 2006 +0000 +++ b/plugins/perl/perl-common.h Sat Jan 14 08:28:05 2006 +0000 @@ -9,6 +9,7 @@ #include <EXTERN.h> #include <perl.h> +#include "plugin.h" #include "value.h" #define is_hvref(o) \ @@ -23,6 +24,16 @@ #define GAIM_PERL_BOOT(x) \ gaim_perl_callXS(boot_Gaim__##x, cv, mark) +typedef struct +{ + GaimPlugin *plugin; + char *package; + char *load_sub; + char *unload_sub; + char *prefs_sub; + char *gtk_prefs_sub; +} GaimPerlScript; + void gaim_perl_normalize_script_name(char *name); SV *newSVGChar(const char *str);