X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGuiHelpers%2FSALOME_GuiServices.hxx;h=dbbab8dfa9df13754c59f65f658c8545c381bccc;hb=8c5294030a4c11ca0a18be48fc0165466861adad;hp=990596c8e141abd498b6629e8987334a65d22ee3;hpb=731e47a1cac1c7dd304f090953285077010accb7;p=modules%2Fgui.git diff --git a/src/GuiHelpers/SALOME_GuiServices.hxx b/src/GuiHelpers/SALOME_GuiServices.hxx index 990596c8e..dbbab8dfa 100644 --- a/src/GuiHelpers/SALOME_GuiServices.hxx +++ b/src/GuiHelpers/SALOME_GuiServices.hxx @@ -31,13 +31,13 @@ #include CORBA_SERVER_HEADER(SALOMEDS) #include #include - +#include "SalomeGuiHelpers.hxx" namespace GUI { // SALOME GUI main services - SalomeApp_Application * getSalomeApplication(); - LightApp_SelectionMgr * getSelectionManager(); - SUIT_ResourceMgr * getResourcesManager(); + SALOMEGUIHELPERS_EXPORT SalomeApp_Application * getSalomeApplication(); + SALOMEGUIHELPERS_EXPORT LightApp_SelectionMgr * getSelectionManager(); + SALOMEGUIHELPERS_EXPORT SUIT_ResourceMgr * getResourcesManager(); // Helper functions to deal with the study in a GUI context. // @@ -58,14 +58,14 @@ namespace GUI { // depends of the SALOME module technical choices). In general, on // of the attribute of a SObject is a CORBA servant that handles the // data to work with - SALOMEDS::Study_ptr getActiveStudy(); - int getActiveStudyId(); + SALOMEGUIHELPERS_EXPORT SALOMEDS::Study_ptr getActiveStudy(); + SALOMEGUIHELPERS_EXPORT int getActiveStudyId(); // Another way to get the active study (to be converted in // SALOMEDS::Study): - SalomeApp_Study * getSalomeAppActiveStudy(); + SALOMEGUIHELPERS_EXPORT SalomeApp_Study * getSalomeAppActiveStudy(); - SALOMEDS::SObject_ptr IObjectToSObject(const Handle(SALOME_InteractiveObject)& iobject); + SALOMEGUIHELPERS_EXPORT SALOMEDS::SObject_ptr IObjectToSObject(const Handle(SALOME_InteractiveObject)& iobject); template typename TInterface::_var_type IObjectToInterface(const Handle(SALOME_InteractiveObject)& iobject) {