Salome HOME
Increment version: 8.4.0
[modules/geom.git] / src / IGESPlugin / IGESPlugin_ImportDriver.cxx
index 23e8dd9bdbf5b21b4b12c5699e7684e7a0829bf5..f8217316078cd99856a29b025e5ebcd1fd7d547c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -80,7 +80,7 @@ IGESPlugin_ImportDriver::IGESPlugin_ImportDriver()
 //function : Execute
 //purpose  :
 //=======================================================================
-Standard_Integer IGESPlugin_ImportDriver::Execute( TFunction_Logbook& log ) const
+Standard_Integer IGESPlugin_ImportDriver::Execute(Handle(TFunction_Logbook)& log) const
 {
   if( Label().IsNull() ) return 0;
   Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction( Label() );
@@ -195,20 +195,11 @@ Standard_Integer IGESPlugin_ImportDriver::Execute( TFunction_Logbook& log ) cons
 
   aFunction->SetValue( aResShape );
 
-  log.SetTouched( Label() );
+  log->SetTouched(Label());
 
   return 1;
 }
 
-//=======================================================================
-//function : MustExecute
-//purpose  :
-//=======================================================================
-Standard_Boolean IGESPlugin_ImportDriver::MustExecute( const TFunction_Logbook& ) const
-{
-  return Standard_True;
-}
-
 //================================================================================
 /*!
  * \brief Returns a name of creation operation and names and values of creation parameters
@@ -287,6 +278,4 @@ IGESPlugin_ImportDriver::GetValue( const TCollection_AsciiString& theFileName,
     return TCollection_AsciiString();
 }
 
-
-IMPLEMENT_STANDARD_HANDLE( IGESPlugin_ImportDriver, GEOM_BaseDriver );
 IMPLEMENT_STANDARD_RTTIEXT( IGESPlugin_ImportDriver, GEOM_BaseDriver );