X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Fapps%2FPswGen%2FGenerator%2Fmodule.h;h=99706f46e350408bddf565c77b716589ecaa0afb;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=a1be474308b283ebf564d29acd66c0dc2692469f;hpb=3352f7acc232104985807b9f470cb12bcb2b47c2;p=evaf
diff --git a/src/apps/PswGen/Generator/module.h b/src/apps/PswGen/Generator/module.h
index a1be474..99706f4 100644
--- a/src/apps/PswGen/Generator/module.h
+++ b/src/apps/PswGen/Generator/module.h
@@ -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
@@ -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: