Salome HOME
updated copyright message
[modules/gui.git] / src / PVViewer / PVViewer_Behaviors.h
index fa2d32af8309983d4e7a27ff888400dbe361d776..b502912cd7326fc05c12929183a107ee84aca816 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
 // Author: Adrien Bruneton (CEA)
 
 
-#ifndef PVGUIBEHAVIORS_H_
-#define PVGUIBEHAVIORS_H_
+#ifndef PVVIEWER_BEHAVIORS_H
+#define PVVIEWER_BEHAVIORS_H
+
+#include "PVViewer.h"
 
 #include <QObject>
 
-class SalomeApp_Module;
-class SUIT_Desktop;
+class QMainWindow;
 class pqPropertiesPanel;
 
 /**!
@@ -33,23 +34,20 @@ class pqPropertiesPanel;
  *    Qt/ApplicationComponents/pqParaViewBehaviors.cxx
  * Except a few ones, behaviors are destroyed when the module is destroyed.
  */
-class PVViewer_Behaviors: public QObject
+class PVVIEWER_EXPORT PVViewer_Behaviors: public QObject
 {
   Q_OBJECT
 
 public:
-  PVViewer_Behaviors(SUIT_Desktop * parent);
+  PVViewer_Behaviors(QMainWindow*);
 
-  void instanciateMinimalBehaviors(SUIT_Desktop * desk);
-  void instanciateAllBehaviors(SUIT_Desktop * desk);
+  void instanciateMinimalBehaviors(QMainWindow*);
+  void instanciateAllBehaviors(QMainWindow*);
 
   virtual ~PVViewer_Behaviors() {}
 
-//public slots:
-//  void onEmulateApply();
-
 private:
   static int BehaviorLoadingLevel;
 };
 
-#endif /* PVGUIBEHAVIORS_H_ */
+#endif // PVVIEWER_BEHAVIORS_H