* @brief GUI for the PswGen application
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2012 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
class QLineEdit;
class QSpinBox;
class QPushButton;
+class QCheckBox;
namespace eVaf {
namespace PswGen {
- class iGenerator;
+ struct iGenerator;
+ struct iStorage;
namespace GUI {
/**
class Module : public Plugins::iPlugin
{
Q_OBJECT
+ Q_INTERFACES(eVaf::Plugins::iPlugin)
public:
/// 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;
+ QLineEdit * wName;
+ QLineEdit * wSuffix;
QSpinBox * wLength;
+ QCheckBox * wAlNum;
QLineEdit * wPassword;
QPushButton * wGenerate;
QPushButton * wCopy;