From: nds Date: Thu, 3 Nov 2005 08:35:12 +0000 (+0000) Subject: Using files from package LightApp instead of SalomeApp X-Git-Tag: OCC_For_3_1_0a3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=294e9240abe84741088eec26985a3b37b1bef88e;p=modules%2Fmed.git Using files from package LightApp instead of SalomeApp --- diff --git a/src/MEDGUI/MedGUI.cxx b/src/MEDGUI/MedGUI.cxx index c98bfc2b6..b0f2cf40f 100644 --- a/src/MEDGUI/MedGUI.cxx +++ b/src/MEDGUI/MedGUI.cxx @@ -45,10 +45,11 @@ #include #include #include -#include #include #include +#include + #include //#include "SMESH_TypeFilter.hxx" @@ -460,7 +461,7 @@ bool MedGUI::OnGUIEvent (int theCommandID) SALOME_ListIO list; SalomeApp_Application* app = getApp(); - SalomeApp_SelectionMgr* mgr = app ? app->selectionMgr() : NULL; + LightApp_SelectionMgr* mgr = app ? app->selectionMgr() : NULL; if( mgr ) mgr->selectedObjects( list ); //Sel->AddFilter(aMeshFilter) ; @@ -529,7 +530,7 @@ bool MedGUI::OnGUIEvent (int theCommandID) SALOME_ListIO list; SalomeApp_Application* app = getApp(); - SalomeApp_SelectionMgr* mgr = app ? app->selectionMgr() : NULL; + LightApp_SelectionMgr* mgr = app ? app->selectionMgr() : NULL; if( mgr ) mgr->selectedObjects( list ); diff --git a/src/MEDGUI/MedGUI_Selection.cxx b/src/MEDGUI/MedGUI_Selection.cxx index d5c3b3e21..657ca3ca2 100644 --- a/src/MEDGUI/MedGUI_Selection.cxx +++ b/src/MEDGUI/MedGUI_Selection.cxx @@ -6,7 +6,7 @@ //purpose : //======================================================================= MedGUI_Selection::MedGUI_Selection() -: SalomeApp_Selection() +: LightApp_Selection() { } diff --git a/src/MEDGUI/MedGUI_Selection.h b/src/MEDGUI/MedGUI_Selection.h index 39702a9b1..7c9a7c73e 100644 --- a/src/MEDGUI/MedGUI_Selection.h +++ b/src/MEDGUI/MedGUI_Selection.h @@ -29,9 +29,9 @@ #ifndef MEDGUI_SELECTION_HeaderFile #define MEDGUI_SELECTION_HeaderFile -#include "SalomeApp_Selection.h" +#include "LightApp_Selection.h" -class MedGUI_Selection : public SalomeApp_Selection +class MedGUI_Selection : public LightApp_Selection { public: MedGUI_Selection();