Salome HOME
First integration of a new PV3D viewer.
[modules/gui.git] / src / PVViewer / PVViewer_Core.h
index a5ac1473814cff3fcdcc2baa94e288fcc66a1f39..369c1a957966e18c2180c663f8e9fdda1552ff7c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,9 +38,11 @@ class PVVIEWER_EXPORT PVViewer_Core
 {
 public:
   static pqPVApplicationCore* GetPVApplication();
+  static bool ParaViewInitAppCore();
+  static pqPVApplicationCore *GetPVAppCore() { return MyCoreApp; }
 
   //! Initialize ParaView if not yet done (once per session)
-  static bool ParaviewInitApp(QMainWindow*);
+  static bool ParaviewInitApp();
   static void ParaviewInitBehaviors(bool = false, QMainWindow* = 0);
   static void ParaviewLoadConfigurations(const QString&, bool = false);
   static void ParaviewCleanup();
@@ -50,6 +52,7 @@ private:
   virtual ~PVViewer_Core(){};
 
   static pqPVApplicationCore* MyCoreApp;
+  static bool MyPqTabWidSingletonLoaded;
   static bool ConfigLoaded;
   static PVViewer_Behaviors* ParaviewBehaviors;
 };