]> vaikene.ee Git - evaf/blobdiff - src/apps/FileFinder/GUI/gui.h
Warning fixes and copyright update.
[evaf] / src / apps / FileFinder / GUI / gui.h
index 2c55cc517fae35f09099ba7dab601a95f94125a0..3b584c3cb08a5a1ea6800a770a61cd66634be545 100644 (file)
@@ -3,7 +3,7 @@
  * @brief GUI for the FileFinder application
  * @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,6 +20,8 @@
 #ifndef __FILEFINDER_GUI_GUI_H
 #  define __FILEFINDER_GUI_GUI_H
 
+#include "version.h"
+
 #include <Plugins/iPlugin>
 #include <Gui/Panel>
 
@@ -41,7 +43,7 @@ namespace SdiWindow {
     struct iSdiWindow;    
 } // namespace eVaf::SdiWindow
 namespace FileFinder {
-    struct iFileFinder;
+    class iFileFinder;
 namespace GUI {
 
 namespace Internal {
@@ -55,7 +57,7 @@ class MainWidget : public Gui::Panel
 
 public:
 
-    MainWidget(QWidget * parent = 0)
+    MainWidget(QWidget * parent = nullptr)
         : Gui::Panel(parent)
     {}
 
@@ -82,6 +84,7 @@ class Module : public Plugins::iPlugin
 {
     Q_OBJECT
     Q_INTERFACES(eVaf::Plugins::iPlugin)
+    Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR)
 
 public: