diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-04 21:57:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-04 21:57:54 (GMT) |
commit | 286ba13e0a5e908f9ebe67286bb6006adb4102fc (patch) | |
tree | 06d1ef353ae623c579a8fff5a74d22ecc0b9b862 /plugins/readmc | |
parent | c1cac2ce69f01deb99c5c91a803dfa04af90ef14 (diff) |
Simplified the plugin interface.
Diffstat (limited to 'plugins/readmc')
-rw-r--r-- | plugins/readmc/reader.c | 7 | ||||
-rw-r--r-- | plugins/readmc/reader.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/readmc/reader.c b/plugins/readmc/reader.c index aa601f5..7239960 100644 --- a/plugins/readmc/reader.c +++ b/plugins/readmc/reader.c @@ -25,7 +25,7 @@ #include <plugins/mobicore/mclf.h> -#include <plugins/plugin-def.h> +#include <plugins/self.h> #include "header.h" @@ -36,7 +36,8 @@ -DEFINE_CHRYSALIDE_PLUGIN("GMCReaderPlugin", "readmc", "Displays information about Mobicore files", "0.2.0", +DEFINE_CHRYSALIDE_PLUGIN("MCReader", "Information about Mobicore files", + PACKAGE_VERSION, CHRYSALIDE_WEBSITE(""), NO_REQ, AL(PGA_FORMAT_PRELOAD)); @@ -56,7 +57,7 @@ DEFINE_CHRYSALIDE_PLUGIN("GMCReaderPlugin", "readmc", "Displays information abou * * ******************************************************************************/ -G_MODULE_EXPORT bool preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status) +G_MODULE_EXPORT bool chrysalide_plugin_preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status) { bool result; /* Bilan à retourner */ vmpa2t pos; /* Tête de lecture des symboles*/ diff --git a/plugins/readmc/reader.h b/plugins/readmc/reader.h index 0eed6e2..e9aae1e 100644 --- a/plugins/readmc/reader.h +++ b/plugins/readmc/reader.h @@ -31,7 +31,7 @@ /* Etablit des symboles complémentaires dans un format Mobicore. */ -G_MODULE_EXPORT bool preload_binary_format(const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *); +G_MODULE_EXPORT bool chrysalide_plugin_preload_binary_format(const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *); |