Salome HOME
updated copyright message
[modules/geom.git] / src / BREPPlugin / BREPPlugin_ExportDriver.hxx
index 00c6dbdf321813ad99767b585bef5349801de89c..95215b5df729aa0611e12d340198f4bc71c7a6b1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2023  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
 // GEOM includes
 #include "GEOM_BaseDriver.hxx"
 
-// OCCT includes
-#include <TFunction_Logbook.hxx>
-
-DEFINE_STANDARD_HANDLE( BREPPlugin_ExportDriver, GEOM_BaseDriver );
+DEFINE_STANDARD_HANDLE( BREPPlugin_ExportDriver, GEOM_BaseDriver )
 
 class BREPPlugin_ExportDriver : public GEOM_BaseDriver
 {
@@ -35,14 +32,14 @@ public:
   ~BREPPlugin_ExportDriver() {};
 
   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 Standard_Integer   Execute(Handle(TFunction_Logbook)& log) const;
+  virtual void Validate(Handle(TFunction_Logbook)&) const {}
+  Standard_Boolean MustExecute(const Handle(TFunction_Logbook)&) const { return Standard_True; }
 
   virtual bool                 GetCreationInformation( std::string& theOperationName,
                                                       std::vector<GEOM_Param>& params );
 
-DEFINE_STANDARD_RTTI( BREPPlugin_ExportDriver )
+  DEFINE_STANDARD_RTTIEXT(BREPPlugin_ExportDriver,GEOM_BaseDriver)
 };
 
 #endif // _BREPPlugin_ExportDriver_HXX