Salome HOME
updated copyright message
[modules/geom.git] / src / STEPPlugin / STEPPlugin_ImportDriver.hxx
index 40bb7b1be985cc6ca6ab488f2414b9fcd0e97f12..0e6edd635953294e35363f3fe6c5a79611ab2c7a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // GEOM includes
 #include "GEOM_BaseDriver.hxx"
 
-// OCCT includes
-#include <TFunction_Logbook.hxx>
-
-DEFINE_STANDARD_HANDLE( STEPPlugin_ImportDriver, GEOM_BaseDriver );
+DEFINE_STANDARD_HANDLE( STEPPlugin_ImportDriver, GEOM_BaseDriver )
 
 class STEPPlugin_ImportDriver : public GEOM_BaseDriver
 {
@@ -35,19 +32,18 @@ public:
   ~STEPPlugin_ImportDriver() {};
 
   static const Standard_GUID& GetID();
-  virtual Standard_Integer    Execute( TFunction_Logbook& log ) const;
-  Standard_Boolean            MustExecute( const TFunction_Logbook& ) const;
-  virtual void                Validate( TFunction_Logbook& ) const {}
-  virtual bool                GetCreationInformation( std::string&             theOperationName,
-                                                     std::vector<GEOM_Param>& params );
-  
+  virtual Standard_Integer    Execute(Handle(TFunction_Logbook)& log) const;
+  Standard_Boolean            MustExecute( const Handle(TFunction_Logbook)& ) const { return Standard_True; }
+  virtual void                Validate( Handle(TFunction_Logbook)& ) const {}
+
+  virtual bool                GetCreationInformation( std::string& theOperationName,
+                                                      std::vector<GEOM_Param>& params );
   static 
   TCollection_AsciiString     GetValue( const TCollection_AsciiString&,
-                                       const TCollection_AsciiString&,
-                                       TCollection_AsciiString& );
+                                        const TCollection_AsciiString&,
+                                        TCollection_AsciiString& );
 
-DEFINE_STANDARD_RTTI( STEPPlugin_ImportDriver )
+  DEFINE_STANDARD_RTTIEXT(STEPPlugin_ImportDriver,GEOM_BaseDriver)
 };
 
 #endif // _STEPPlugin_ImportDriver_HXX