Mercurial > pidgin.yaz
comparison plugins/perl/perl.c @ 8749:d7b8eb1f0a18
[gaim-migrate @ 9504]
Bumped up the plugin API version number, and added version numbers for
loader plugins and protocol plugins. Authors will want to update their
plugins, and possibly use GAIM_PLUGIN_API_VERSION, GAIM_PRPL_API_VERSION,
and GAIM_LOADER_API_VERSION constants.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 22 Apr 2004 01:53:18 +0000 |
parents | 92cbf9713795 |
children | 10caa1ec2dc4 |
comparison
equal
deleted
inserted
replaced
8748:13d592f485d1 | 8749:d7b8eb1f0a18 |
---|---|
507 return TRUE; | 507 return TRUE; |
508 } | 508 } |
509 | 509 |
510 static GaimPluginLoaderInfo loader_info = | 510 static GaimPluginLoaderInfo loader_info = |
511 { | 511 { |
512 GAIM_LOADER_API_VERSION, /**< api_version */ | |
512 NULL, /**< exts */ | 513 NULL, /**< exts */ |
513 | 514 |
514 probe_perl_plugin, /**< probe */ | 515 probe_perl_plugin, /**< probe */ |
515 load_perl_plugin, /**< load */ | 516 load_perl_plugin, /**< load */ |
516 unload_perl_plugin, /**< unload */ | 517 unload_perl_plugin, /**< unload */ |
517 destroy_perl_plugin /**< destroy */ | 518 destroy_perl_plugin /**< destroy */ |
518 }; | 519 }; |
519 | 520 |
520 static GaimPluginInfo info = | 521 static GaimPluginInfo info = |
521 { | 522 { |
522 2, /**< api_version */ | 523 GAIM_PLUGIN_API_VERSION, /**< api_version */ |
523 GAIM_PLUGIN_LOADER, /**< type */ | 524 GAIM_PLUGIN_LOADER, /**< type */ |
524 NULL, /**< ui_requirement */ | 525 NULL, /**< ui_requirement */ |
525 0, /**< flags */ | 526 0, /**< flags */ |
526 NULL, /**< dependencies */ | 527 NULL, /**< dependencies */ |
527 GAIM_PRIORITY_DEFAULT, /**< priority */ | 528 GAIM_PRIORITY_DEFAULT, /**< priority */ |