]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/GUI/gui.h
Added Qt plugin macros to Plugins::iPlugin and Plugins::iPluginFactory for proper...
[evaf] / src / apps / PswGen / GUI / gui.h
index 6f04019a849c0bc8e4c87946a120e21f91c6d5ee..d3c89d4abf0e54d0c7b609b3bf9f3b97fadd4b27 100644 (file)
@@ -31,7 +31,8 @@ class QPushButton;
 
 namespace eVaf {
 namespace PswGen {
-    class iGenerator;
+    struct iGenerator;
+    struct iStorage;
 namespace GUI {
 
 /**
@@ -42,6 +43,7 @@ namespace GUI {
 class Module : public Plugins::iPlugin
 {
     Q_OBJECT
+    Q_INTERFACES(eVaf::Plugins::iPlugin)
 
 public:
 
@@ -78,6 +80,9 @@ private: // Members
     /// The iGenerator interface
     eVaf::PswGen::iGenerator * mGenerator;
 
+    /// The iStorage interface (can be null)
+    eVaf::PswGen::iStorage * mStorage;
+
     /// Widgets on the screen
     QLineEdit * wName;
     QLineEdit * wMasterPassword;