X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2FGEOM_BaseDriver.hxx;h=d541f13449f838b9d4c595a4f4e4b61d123b7616;hb=d617faae6bc5aeb91b63796618a20c7c13037b6c;hp=61aa70f6ae7a275ab7131609bd94bb98641d08f8;hpb=ec168c32f86cab8199030ec4e8e2b1cbd5e42670;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_BaseDriver.hxx b/src/GEOM/GEOM_BaseDriver.hxx index 61aa70f6a..d541f1344 100644 --- a/src/GEOM/GEOM_BaseDriver.hxx +++ b/src/GEOM/GEOM_BaseDriver.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 @@ -36,18 +36,10 @@ #include #include -#include - #include #include #include -#if OCC_VERSION_MAJOR < 7 - #define LOGBOOK TFunction_Logbook -#else - #define LOGBOOK Handle(TFunction_Logbook) -#endif - struct GEOM_Param { std::string name; @@ -76,8 +68,6 @@ struct GEOM_Param class GEOM_BaseDriver : public TFunction_Driver { public: - // Returns document id - Standard_EXPORT int GetDocID() const; // Returns a name of creation operation and names and values of creation parameters // (Use AddParam() methods declared below to fill params vector while implementing @@ -107,9 +97,9 @@ public: return params.back(); } - OCCT_DEFINE_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver) + DEFINE_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver) }; -DEFINE_STANDARD_HANDLE (GEOM_BaseDriver,TFunction_Driver); +DEFINE_STANDARD_HANDLE (GEOM_BaseDriver,TFunction_Driver) #endif