X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVViewer%2FPVViewer_Core.h;h=369c1a957966e18c2180c663f8e9fdda1552ff7c;hb=b48b1667684c18181de10f168c81ca80c6ac7679;hp=7c66b015c002b2418ca4d521c610ba96df8b0514;hpb=6a061a6658400468c5823787246a1960cf7ac1f4;p=modules%2Fgui.git diff --git a/src/PVViewer/PVViewer_Core.h b/src/PVViewer/PVViewer_Core.h index 7c66b015c..369c1a957 100644 --- a/src/PVViewer/PVViewer_Core.h +++ b/src/PVViewer/PVViewer_Core.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2016 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; };