X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGenerator%2Fgenerator.cpp;h=01f1a93121864a65ef7fc78e4a1c80993527dc50;hb=1d2a1e80abac012e9755cd23b264e3e099ccc3f5;hp=dddc845a08ea798d090167925d2928655015b4da;hpb=473db85d79d6d89b7b8fe617346efa3e94c66cd9;p=evaf diff --git a/src/apps/PswGen/Generator/generator.cpp b/src/apps/PswGen/Generator/generator.cpp index dddc845..01f1a93 100644 --- a/src/apps/PswGen/Generator/generator.cpp +++ b/src/apps/PswGen/Generator/generator.cpp @@ -26,12 +26,12 @@ #include using namespace eVaf; -using namespace evaf::PswGen; +using namespace eVaf::PswGen; using namespace eVaf::PswGen::Generator; //------------------------------------------------------------------- -Generator::Generator() +Module::Module() : Plugins::iPlugin() , mReady(false) { @@ -42,14 +42,14 @@ Generator::Generator() EVAF_INFO("%s created", qPrintable(objectName())); } -Generator::~Generator() +Module::~Module() { delete mGenerator; EVAF_INFO("%s destroyed", qPrintable(objectName())); } -bool Generator::init(const QString & args) +bool Module::init(const QString & args) { Q_UNUSED(args); @@ -63,7 +63,7 @@ bool Generator::init(const QString & args) return true; } -void Generator::done() +void Module::done() { mReady = false; @@ -120,4 +120,4 @@ QString GeneratorImpl::generatePassword(char const * const name, char const * co //------------------------------------------------------------------- VER_EXPORT_VERSION_INFO() -Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, Generator) +Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, Module)