X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2FGEOM_SubShapeDriver.hxx;h=4ccd34f772f45afc875cf14c794a8b585ef0cb05;hb=d617faae6bc5aeb91b63796618a20c7c13037b6c;hp=2ac04f9d80e72cc3f2599c83f51759f9cfabe173;hpb=ec168c32f86cab8199030ec4e8e2b1cbd5e42670;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_SubShapeDriver.hxx b/src/GEOM/GEOM_SubShapeDriver.hxx index 2ac04f9d8..4ccd34f77 100644 --- a/src/GEOM/GEOM_SubShapeDriver.hxx +++ b/src/GEOM/GEOM_SubShapeDriver.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -28,16 +28,16 @@ #include -DEFINE_STANDARD_HANDLE( GEOM_SubShapeDriver, GEOM_BaseDriver ); +DEFINE_STANDARD_HANDLE( GEOM_SubShapeDriver, GEOM_BaseDriver ) class GEOM_SubShapeDriver : public GEOM_BaseDriver { public: Standard_EXPORT GEOM_SubShapeDriver(); - Standard_EXPORT virtual Standard_Integer Execute(LOGBOOK& log) const; - Standard_EXPORT virtual void Validate(LOGBOOK&) const {} - Standard_EXPORT Standard_Boolean MustExecute(const LOGBOOK&) const { return Standard_True; } + Standard_EXPORT virtual Standard_Integer Execute(Handle(TFunction_Logbook)& log) const; + Standard_EXPORT virtual void Validate(Handle(TFunction_Logbook)&) const {} + Standard_EXPORT Standard_Boolean MustExecute(const Handle(TFunction_Logbook)&) const { return Standard_True; } Standard_EXPORT static const Standard_GUID& GetID(); Standard_EXPORT ~GEOM_SubShapeDriver() {}; @@ -46,7 +46,7 @@ public: bool GetCreationInformation(std::string& theOperationName, std::vector& params); - OCCT_DEFINE_STANDARD_RTTIEXT(GEOM_SubShapeDriver,GEOM_BaseDriver) + DEFINE_STANDARD_RTTIEXT(GEOM_SubShapeDriver,GEOM_BaseDriver) }; #endif