summaryrefslogtreecommitdiffstats
path: root/sigencore
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-24 23:59:03 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-24 23:59:03 -0400
commitcc06a49b760f9304ee4419f5bc3ed3d4e27967b2 (patch)
treeeabd6e679d1339b411c4b973d7b11b682ba1fbd4 /sigencore
parent7318df40f015d1e3fc4ec5353b20817f96bd6329 (diff)
downloadsigen-cc06a49b760f9304ee4419f5bc3ed3d4e27967b2.tar.gz
sigen-cc06a49b760f9304ee4419f5bc3ed3d4e27967b2.tar.xz
sigen-cc06a49b760f9304ee4419f5bc3ed3d4e27967b2.zip
Add versioning macros to plugins
Diffstat (limited to 'sigencore')
-rw-r--r--sigencore/plugins/ArenaPlugin.h3
-rw-r--r--sigencore/plugins/CanvasPlugin.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/sigencore/plugins/ArenaPlugin.h b/sigencore/plugins/ArenaPlugin.h
index e7153d79..4b132907 100644
--- a/sigencore/plugins/ArenaPlugin.h
+++ b/sigencore/plugins/ArenaPlugin.h
@@ -69,5 +69,8 @@ class SIGENCOREPLUGINS_EXPORT ArenaPlugin : public QObject
#define SIGEN_ARENA_PLUGIN(type, name) \
K_PLUGIN_FACTORY(ArenaFactory, registerPlugin<type>();) \
K_EXPORT_PLUGIN(ArenaFactory(name))
+#define SIGEN_ARENA_PLUGIN_VERSION(type, name, version) \
+ SIGEN_ARENA_PLUGIN(type, name) \
+ K_EXPORT_PLUGIN_VERSION(version)
#endif
diff --git a/sigencore/plugins/CanvasPlugin.h b/sigencore/plugins/CanvasPlugin.h
index b24653be..2ca4c18c 100644
--- a/sigencore/plugins/CanvasPlugin.h
+++ b/sigencore/plugins/CanvasPlugin.h
@@ -69,5 +69,8 @@ class SIGENCOREPLUGINS_EXPORT CanvasPlugin : public QObject
#define SIGEN_CANVAS_PLUGIN(type, name) \
K_PLUGIN_FACTORY(CanvasFactory, registerPlugin<type>();) \
K_EXPORT_PLUGIN(CanvasFactory(name))
+#define SIGEN_CANVAS_PLUGIN_VERSION(type, name, version) \
+ SIGEN_CANVAS_PLUGIN(type, name) \
+ K_EXPORT_PLUGIN_VERSION(version)
#endif