-// 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
#ifndef _STLPlugin_ExportDriver_HXX
#define _STLPlugin_ExportDriver_HXX
-// internal includes
-#include "STLPlugin_Engine.hxx"
-
// 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 STLPLUGINENGINE_EXPORT STLPlugin_ExportDriver : public GEOM_BaseDriver
+class STLPlugin_ExportDriver : public GEOM_BaseDriver
{
public:
STLPlugin_ExportDriver();
~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