X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.h;h=d3c89d4abf0e54d0c7b609b3bf9f3b97fadd4b27;hb=d50faf159f17a66fb89ea3e7878b6f56e34b9e72;hp=e9607e4ee8a142e2d4259c5a2cfe5d604f21d8a0;hpb=473db85d79d6d89b7b8fe617346efa3e94c66cd9;p=evaf
diff --git a/src/apps/PswGen/GUI/gui.h b/src/apps/PswGen/GUI/gui.h
index e9607e4..d3c89d4 100644
--- a/src/apps/PswGen/GUI/gui.h
+++ b/src/apps/PswGen/GUI/gui.h
@@ -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;