summaryrefslogtreecommitdiff
path: root/plugins/readmc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readmc')
-rw-r--r--plugins/readmc/reader.c7
-rw-r--r--plugins/readmc/reader.h2
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 *);