Salome HOME
updated copyright message
[modules/gui.git] / src / PVViewer / PVViewer_ViewModel.h
index e70f663cb820d30c35649aac4356dda31cd4c90c..a2b829d7524c061183dce58c0789199ce6131118 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-#if !defined(_PVViewer_VIEWMODEL_H)
-#define _PVViewer_VIEWMODEL_H
+// Author: Adrien Bruneton (CEA)
 
-#include <SUIT_ViewModel.h>
+#ifndef PVVIEWER_VIEWMODEL_H
+#define PVVIEWER_VIEWMODEL_H
+
+#include "PVViewer.h"
+
+#include "SUIT_ViewModel.h"
 
 class SUIT_ViewWindow;
 class SUIT_Desktop;
 class SUIT_Desktop;
 
-class PVViewer_Viewer: public SUIT_ViewModel
+class PVVIEWER_EXPORT PVViewer_Viewer: public SUIT_ViewModel
 {
   Q_OBJECT
 
@@ -33,10 +37,9 @@ public:
   PVViewer_Viewer();
   virtual ~PVViewer_Viewer() {}
 
-  virtual SUIT_ViewWindow* createView(SUIT_Desktop* theDesktop);
+  virtual SUIT_ViewWindow* createView(SUIT_Desktop*);
   virtual QString getType() const { return Type(); }
   static QString Type() { return "ParaView"; }
 };
 
-#endif // !defined(_PVViewer_VIEWMODEL_H)
-
+#endif // PVVIEWER_VIEWMODEL_H