X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARDGUI%2FHOMARDGUI_Utils.h;h=dc5425726b1e8cee654c58b3b8f098c5c725acad;hb=d99ab7669d0fd72f475b275e1185f63142a8bbbc;hp=81182a0d051c33b3a71d8924cf6d7c5645b49b18;hpb=2c82da385bf3d7b6a045dfe7620d4b9bdc154fe6;p=modules%2Fhomard.git diff --git a/src/HOMARDGUI/HOMARDGUI_Utils.h b/src/HOMARDGUI/HOMARDGUI_Utils.h index 81182a0d..dc542572 100644 --- a/src/HOMARDGUI/HOMARDGUI_Utils.h +++ b/src/HOMARDGUI/HOMARDGUI_Utils.h @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2016 CEA/DEN, EDF R&D +// Copyright (C) 2011-2022 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 @@ -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);