X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBREPPlugin%2FBREPPlugin_ExportDriver.hxx;h=95215b5df729aa0611e12d340198f4bc71c7a6b1;hb=c1d63ef1f803d255b61ee99fb618bf471add07f4;hp=00c6dbdf321813ad99767b585bef5349801de89c;hpb=6f000dfe28cad33bcf7053913e1a2f24b3fa3e33;p=modules%2Fgeom.git diff --git a/src/BREPPlugin/BREPPlugin_ExportDriver.hxx b/src/BREPPlugin/BREPPlugin_ExportDriver.hxx index 00c6dbdf3..95215b5df 100644 --- a/src/BREPPlugin/BREPPlugin_ExportDriver.hxx +++ b/src/BREPPlugin/BREPPlugin_ExportDriver.hxx @@ -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 @@ -23,10 +23,7 @@ // GEOM includes #include "GEOM_BaseDriver.hxx" -// OCCT includes -#include - -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& params ); -DEFINE_STANDARD_RTTI( BREPPlugin_ExportDriver ) + DEFINE_STANDARD_RTTIEXT(BREPPlugin_ExportDriver,GEOM_BaseDriver) }; #endif // _BREPPlugin_ExportDriver_HXX