Using files from package LightApp instead of SalomeApp

This commit is contained in:
nds 2005-11-03 08:37:36 +00:00
parent d47d1f292b
commit 80b2ef84c3
2 changed files with 6 additions and 6 deletions

View 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());

View 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());