Salome HOME
Using files from package LightApp instead of SalomeApp
authornds <nds@opencascade.com>
Thu, 3 Nov 2005 08:37:36 +0000 (08:37 +0000)
committernds <nds@opencascade.com>
Thu, 3 Nov 2005 08:37:36 +0000 (08:37 +0000)
src/SMESHFiltersSelection/SMESH_NumberFilter.cxx
src/SMESHFiltersSelection/SMESH_TypeFilter.cxx

index a44dcf8..958e7a0 100644 (file)
@@ -10,7 +10,7 @@
 #include "SUIT_Session.h"
 
 #include "SalomeApp_Study.h"
-#include "SalomeApp_DataOwner.h"
+#include "LightApp_DataOwner.h"
 
 #include "SALOME_InteractiveObject.hxx"
 #include "SALOMEDSClient_SObject.hxx"
@@ -129,8 +129,8 @@ bool SMESH_NumberFilter::isOk (const SUIT_DataOwner* theDataOwner) const
 GEOM::GEOM_Object_ptr SMESH_NumberFilter::getGeom
   (const SUIT_DataOwner* theDataOwner, const bool extractReference ) const
 {
-  const SalomeApp_DataOwner* owner =
-    dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
+  const LightApp_DataOwner* owner =
+    dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
   SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
     (SUIT_Session::session()->activeApplication()->activeStudy());
 
index b99f4d1..f406022 100644 (file)
@@ -3,7 +3,7 @@
 #include <SUIT_Session.h>
 
 #include <SalomeApp_Study.h>
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
 
 SMESH_TypeFilter::SMESH_TypeFilter (MeshObjectType theType) 
 {
@@ -18,8 +18,8 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
 {
   bool Ok = false, extractReference = true;
 
-  const SalomeApp_DataOwner* owner =
-    dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
+  const LightApp_DataOwner* owner =
+    dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
   SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
     (SUIT_Session::session()->activeApplication()->activeStudy());