Salome HOME
updated copyright message
[modules/geom.git] / src / STLPlugin / STLPlugin_ExportDriver.hxx
index 2fddcd15514b28b42a76cd01af5dbc87adae2fb8..ff72b4700ba1e2dd3536d085960c723f00f781e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2016  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( STLPlugin_ExportDriver, GEOM_BaseDriver );
+DEFINE_STANDARD_HANDLE( STLPlugin_ExportDriver, GEOM_BaseDriver )
 
 class STLPlugin_ExportDriver : public GEOM_BaseDriver
 {
@@ -35,14 +32,14 @@ public:
   ~STLPlugin_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;
+  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 );
+  virtual bool                GetCreationInformation( std::string& theOperationName,
+                                                      std::vector<GEOM_Param>& params );
 
-DEFINE_STANDARD_RTTI( STLPlugin_ExportDriver )
+  DEFINE_STANDARD_RTTIEXT(STLPlugin_ExportDriver,GEOM_BaseDriver)
 };
 
 #endif // _STLPlugin_ExportDriver_HXX