22 #ifndef __GUI_SERVICES_H__
23 #define __GUI_SERVICES_H__
30 #include "SALOMEconfig.h"
31 #include CORBA_SERVER_HEADER(SALOMEDS)
33 #include <SALOME_KernelServices.hxx>
69 template<
class TInterface>
typename TInterface::_var_type
72 return KERNEL::SObjectToInterface<TInterface>(sobject);
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
#define SALOMEGUIHELPERS_EXPORT
Definition: SalomeGuiHelpers.hxx:33
Definition: LightApp_SelectionMgr.h:53
Definition: SUIT_ResourceMgr.h:31
Application containing SalomeApp module or LightApp module.
Definition: SalomeApp_Application.h:68
Definition: SalomeApp_Study.h:37
Definition: SALOME_GuiServices.cxx:25
LightApp_SelectionMgr * getSelectionManager()
Definition: SALOME_GuiServices.cxx:57
SALOMEDS::Study_ptr getStudyServant()
This returns the current active study if an active study is defined in the SALOME session,...
Definition: SALOME_GuiServices.cxx:75
SalomeApp_Application * getSalomeApplication()
Definition: SALOME_GuiServices.cxx:42
SUIT_ResourceMgr * getResourcesManager()
Definition: SALOME_GuiServices.cxx:64
SALOMEDS::SObject_ptr IObjectToSObject(const Handle(SALOME_InteractiveObject)&iobject)
Definition: SALOME_GuiServices.cxx:90
SalomeApp_Study * getSalomeAppActiveStudy()
Definition: SALOME_GuiServices.cxx:81
TInterface::_var_type IObjectToInterface(const Handle(SALOME_InteractiveObject)&iobject)
Definition: SALOME_GuiServices.hxx:70