| 91 #include "version.h" |
91 #include "version.h" |
| 92 |
92 |
| 93 #include "perl-common.h" |
93 #include "perl-common.h" |
| 94 #include "perl-handlers.h" |
94 #include "perl-handlers.h" |
| 95 |
95 |
| |
96 #include <gmodule.h> |
| |
97 |
| 96 #define PERL_PLUGIN_ID "core-perl" |
98 #define PERL_PLUGIN_ID "core-perl" |
| 97 |
99 |
| 98 PerlInterpreter *my_perl = NULL; |
100 PerlInterpreter *my_perl = NULL; |
| 99 |
101 |
| 100 static PurplePluginUiInfo ui_info = |
102 static PurplePluginUiInfo ui_info = |
| 576 static PurplePluginInfo info = |
578 static PurplePluginInfo info = |
| 577 { |
579 { |
| 578 PURPLE_PLUGIN_MAGIC, |
580 PURPLE_PLUGIN_MAGIC, |
| 579 PURPLE_MAJOR_VERSION, |
581 PURPLE_MAJOR_VERSION, |
| 580 PURPLE_MINOR_VERSION, |
582 PURPLE_MINOR_VERSION, |
| 581 PURPLE_PLUGIN_LOADER, /**< type */ |
583 PURPLE_PLUGIN_LOADER, /**< type */ |
| 582 NULL, /**< ui_requirement */ |
584 NULL, /**< ui_requirement */ |
| 583 0, /**< flags */ |
585 0, /**< flags */ |
| 584 NULL, /**< dependencies */ |
586 NULL, /**< dependencies */ |
| 585 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
587 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
| 586 |
588 |
| 587 PERL_PLUGIN_ID, /**< id */ |
589 PERL_PLUGIN_ID, /**< id */ |
| 588 N_("Perl Plugin Loader"), /**< name */ |
590 N_("Perl Plugin Loader"), /**< name */ |
| 589 VERSION, /**< version */ |
591 VERSION, /**< version */ |
| 590 N_("Provides support for loading perl plugins."), /**< summary */ |
592 N_("Provides support for loading perl plugins."), /**< summary */ |
| 591 N_("Provides support for loading perl plugins."), /**< description */ |
593 N_("Provides support for loading perl plugins."), /**< description */ |
| 592 "Christian Hammond <chipx86@gnupdate.org>", /**< author */ |
594 "Christian Hammond <chipx86@gnupdate.org>", /**< author */ |
| 593 PURPLE_WEBSITE, /**< homepage */ |
595 PURPLE_WEBSITE, /**< homepage */ |
| 594 |
596 |
| 595 plugin_load, /**< load */ |
597 plugin_load, /**< load */ |
| 596 plugin_unload, /**< unload */ |
598 plugin_unload, /**< unload */ |
| 597 NULL, /**< destroy */ |
599 NULL, /**< destroy */ |
| 598 |
600 |