]> 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 e9607e4ee8a142e2d4259c5a2cfe5d604f21d8a0..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:
 
@@ -70,12 +72,17 @@ private slots:
 
 private: // Members
 
+    static int const DefaultPasswordLength;
+
     /// Flag indicating that the module is ready
     bool mReady;
 
     /// 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;