]> vaikene.ee Git - evaf/blobdiff - src/plugins/SdiWindow/factory.h
Mac OS changes and switched to c++11.
[evaf] / src / plugins / SdiWindow / factory.h
index 78b2f72bf18f54dd1fe6382e72bc4d6c13da4e47..ff97172767b0c548225e891c6fd67ffb63d426f9 100644 (file)
@@ -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.
  *
@@ -22,6 +22,7 @@
 
 #include "version.h"
 #include <Plugins/iPluginFactory>
+#include <QScopedPointer>
 
 namespace eVaf {
 
@@ -60,7 +61,7 @@ public:
 
 private: // Members
 
-    Internal::SdiWindowPlugin * mPlugin;
+    QScopedPointer<Internal::SdiWindowPlugin> mPlugin;
 
 };