X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FSdiWindow%2Ffactory.h;h=ff97172767b0c548225e891c6fd67ffb63d426f9;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=3b7201b959fb0c28449fe1ac42172263bcce7fcb;hpb=06f9c5336ba8a2200b68f636520707693eb5ada7;p=evaf
diff --git a/src/plugins/SdiWindow/factory.h b/src/plugins/SdiWindow/factory.h
index 3b7201b..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 {
@@ -45,6 +47,8 @@ namespace Internal {
class Factory : public Plugins::iPluginFactory
{
Q_OBJECT
+ Q_INTERFACES(eVaf::Plugins::iPluginFactory)
+ Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
public:
@@ -57,7 +61,7 @@ public:
private: // Members
- Internal::SdiWindowPlugin * mPlugin;
+ QScopedPointer mPlugin;
};