X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Fplugins%2FSdiWindow%2Ffactory.h;h=ff97172767b0c548225e891c6fd67ffb63d426f9;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=5010928f5f9ed5182a9f90c51dc338befbce2910;hpb=0957525838e501a4609a15b8d7a765da43362025;p=evaf diff --git a/src/plugins/SdiWindow/factory.h b/src/plugins/SdiWindow/factory.h index 5010928..ff97172 100644 --- a/src/plugins/SdiWindow/factory.h +++ b/src/plugins/SdiWindow/factory.h @@ -3,7 +3,7 @@ * @brief SDI module's factory class * @author Enar Vaikene * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -20,7 +20,9 @@ #ifndef __SDIWINDOW_FACTORY_H # define __SDIWINDOW_FACTORY_H +#include "version.h" #include +#include namespace eVaf { @@ -46,6 +48,7 @@ class Factory : public Plugins::iPluginFactory { Q_OBJECT Q_INTERFACES(eVaf::Plugins::iPluginFactory) + Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR) public: @@ -58,7 +61,7 @@ public: private: // Members - Internal::SdiWindowPlugin * mPlugin; + QScopedPointer mPlugin; };