#include <GEOM_Function.hxx>
#include <GEOMImpl_Types.hxx>
-// OOCT includes
+// OCCT includes
#include <AcisAttr_AttribGenName.hxx>
#include <AcisEnt_Attrib.hxx>
#include <IFSelect_ReturnStatus.hxx>
//function : Execute
//purpose :
//=======================================================================
-Standard_Integer ACISPlugin_ImportDriver::Execute( LOGBOOK& log ) const
+Standard_Integer ACISPlugin_ImportDriver::Execute( Handle(TFunction_Logbook)& log ) const
{
if( Label().IsNull() ) return 0;
Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction( Label() );
aFunction->SetValue( aResShape );
-#if OCC_VERSION_MAJOR < 7
- log.SetTouched(Label());
-#else
log->SetTouched(Label());
-#endif
return 1;
}
return true;
}
-OCCT_IMPLEMENT_STANDARD_RTTIEXT( ACISPlugin_ImportDriver, GEOM_BaseDriver );
+IMPLEMENT_STANDARD_RTTIEXT( ACISPlugin_ImportDriver, GEOM_BaseDriver );