]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/Generator/module.h
Warning fixes and copyright update.
[evaf] / src / apps / PswGen / Generator / module.h
index a1be474308b283ebf564d29acd66c0dc2692469f..99706f46e350408bddf565c77b716589ecaa0afb 100644 (file)
@@ -3,7 +3,7 @@
  * @brief Implementation of the iGenerator interface
  * @author Enar Vaikene
  *
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
  *
  * This file is part of the eVaf C++ cross-platform application development framework.
  *
@@ -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: