]> vaikene.ee Git - evaf/blobdiff - src/apps/FileFinder/Engine/engine.h
Warning fixes and copyright update.
[evaf] / src / apps / FileFinder / Engine / engine.h
index 384fa40ae0ac03d44a128b5d417f0bc6e2d4ea12..a6c2370f864a159f36344cbc601be38d6c9fd882 100644 (file)
@@ -3,7 +3,7 @@
  * @brief Module for the FileFinder application that searches for files
  * @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.
  *
@@ -21,6 +21,7 @@
 #  define __FILEFINDER_ENGINE_ENGINE_H
 
 #include "ifilefinder.h"
+#include "version.h"
 
 #include <Plugins/iPlugin>
 
@@ -62,6 +63,7 @@ class Module : public Plugins::iPlugin
 {
     Q_OBJECT
     Q_INTERFACES(eVaf::Plugins::iPlugin)
+    Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
 
 public:
 
@@ -179,7 +181,9 @@ class Worker : public QThread
 
 public:
 
-    Worker(QObject * parent = 0);
+    Worker(QObject * parent = nullptr);
+
+    virtual ~Worker();
 
     /**
      * Starts a new search.