LightApp_DataOwner instead SalomeApp_DataOwner.
#include "GEOM_OCCFilter.h"
-#include <SalomeApp_SelectionMgr.h>
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_SelectionMgr.h>
+#include <LightApp_DataOwner.h>
#include <SALOME_InteractiveObject.hxx>
// function : GEOM_OCCFilter
// purpose :
//=======================================================================
-GEOM_OCCFilter::GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr )
+GEOM_OCCFilter::GEOM_OCCFilter( LightApp_SelectionMgr* theSelMgr )
: SelectMgr_Filter()
{
mySelMgr = theSelMgr;
Handle(SALOME_InteractiveObject) anIO = Handle(SALOME_InteractiveObject)::DownCast(anAIS->GetOwner());
if ( anIO.IsNull() ) return false;
- return mySelMgr->isOk( new SalomeApp_DataOwner( QString( anIO->getEntry() ) ) );
+ return mySelMgr->isOk( new LightApp_DataOwner( QString( anIO->getEntry() ) ) );
}
#include <Standard_DefineHandle.hxx>
-class SalomeApp_SelectionMgr;
+class LightApp_SelectionMgr;
class GEOM_OCCFilter : public SelectMgr_Filter
{
public:
- Standard_EXPORT GEOM_OCCFilter( SalomeApp_SelectionMgr* theSelMgr);
+ Standard_EXPORT GEOM_OCCFilter( LightApp_SelectionMgr* theSelMgr);
Standard_EXPORT ~GEOM_OCCFilter();
Standard_EXPORT virtual Standard_Boolean IsOk( const Handle(SelectMgr_EntityOwner)& anObj ) const;
private:
- SalomeApp_SelectionMgr* mySelMgr;
+ LightApp_SelectionMgr* mySelMgr;
public:
#include "GEOM_PreviewFilter.h"
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
//=======================================================================
// function : GEOM_SelectionFilter
//=======================================================================
bool GEOM_PreviewFilter::isOk( const SUIT_DataOwner* sOwner ) const
{
- const SalomeApp_DataOwner* owner = dynamic_cast<const SalomeApp_DataOwner*> ( sOwner );
+ const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*> ( sOwner );
return ( owner && strstr( owner->entry(), "TEMP" ) );
}
#include "GEOM_Client.hxx"
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
#include <SalomeApp_Study.h>
#include <SalomeApp_Application.h>
{
GEOM::GEOM_Object_var anObj;
- const SalomeApp_DataOwner* owner = dynamic_cast<const SalomeApp_DataOwner*>(sOwner);
+ const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*>(sOwner);
SalomeApp_Study* appStudy = getStudy();
if (owner && appStudy)
{