X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.h;h=d3c89d4abf0e54d0c7b609b3bf9f3b97fadd4b27;hb=388264abc0442ea0e4c6dca6812cb755053c79d5;hp=6f04019a849c0bc8e4c87946a120e21f91c6d5ee;hpb=3352f7acc232104985807b9f470cb12bcb2b47c2;p=evaf
diff --git a/src/apps/PswGen/GUI/gui.h b/src/apps/PswGen/GUI/gui.h
index 6f04019..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:
@@ -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;