]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/Generator/module.h
Ported to Qt5
[evaf] / src / apps / PswGen / Generator / module.h
index a1be474308b283ebf564d29acd66c0dc2692469f..68cdb4ccb4cf2e976d979f6b8900af2077fcca79 100644 (file)
@@ -21,6 +21,7 @@
 #  define __PSWGEN_GENERATOR_MODULE_H
 
 #include "igenerator.h"
+#include "version.h"
 
 #include <Plugins/iPlugin>
 
@@ -44,6 +45,8 @@ namespace Internal {
 class Module : public Plugins::iPlugin
 {
     Q_OBJECT
+    Q_INTERFACES(eVaf::Plugins::iPlugin)
+    Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
 
 public:
 
@@ -74,9 +77,10 @@ namespace Internal {
  * Implements the iGenerator interface using MD5 cryptographic hashes.
  */
 
-class GeneratorImpl : public iGenerator
+class GeneratorImpl : public QObject, public iGenerator
 {
     Q_OBJECT
+    Q_INTERFACES(eVaf::PswGen::iGenerator)
 
 public: