X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARDGUI%2FHOMARDGUI_Utils.h;h=f5c52178bbd85e624c20d776e399db0f8b905cbd;hb=5b1d82dd069b1e815985e542a500cc67f3fdfc82;hp=5a70575c1263df09a6253bc58829bec5c857db5f;hpb=408c0191e3bbfd149adbf04e2e7bce039703a144;p=modules%2Fhomard.git diff --git a/src/HOMARDGUI/HOMARDGUI_Utils.h b/src/HOMARDGUI/HOMARDGUI_Utils.h index 5a70575c..f5c52178 100644 --- a/src/HOMARDGUI/HOMARDGUI_Utils.h +++ b/src/HOMARDGUI/HOMARDGUI_Utils.h @@ -1,9 +1,9 @@ -// Copyright (C) 2011-2013 CEA/DEN, EDF R&D +// Copyright (C) 2011-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -53,12 +53,8 @@ class LightApp_SelectionMgr; namespace HOMARD_UTILS { - HOMARD_EXPORT - _PTR(Study) - GetCStudy(const SalomeApp_Study* theStudy); - HOMARD_EXPORT SUIT_Study* GetActiveStudy(); - HOMARD_EXPORT _PTR(Study) GetActiveStudyDocument(); + HOMARD_EXPORT _PTR(Study) getStudy(); HOMARD_EXPORT void updateObjBrowser(); @@ -75,6 +71,7 @@ namespace HOMARD_UTILS { // Function returns the last selected object in the list // of selected objects + HOMARD_EXPORT bool isBoundaryCAO(_PTR(SObject) MonObj); HOMARD_EXPORT bool isBoundaryAn(_PTR(SObject) MonObj); HOMARD_EXPORT bool isBoundaryDi(_PTR(SObject) MonObj); HOMARD_EXPORT bool isCase(_PTR(SObject) MonObj);