From b00939610ad54302ac7a08af021a4aa1c8cf11c9 Mon Sep 17 00:00:00 2001 From: skv Date: Thu, 25 Sep 2014 11:06:53 +0400 Subject: [PATCH] Add defines surrounding classes definitions --- src/SKETCHER/Sketcher.hxx | 4 ++-- src/SKETCHER/Sketcher_Profile.hxx | 6 ++++++ src/SKETCHER/Sketcher_Utils.hxx | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/SKETCHER/Sketcher.hxx b/src/SKETCHER/Sketcher.hxx index 175dce9b1..09602cee5 100644 --- a/src/SKETCHER/Sketcher.hxx +++ b/src/SKETCHER/Sketcher.hxx @@ -23,8 +23,8 @@ // File : Sketcher.hxx // Author : Sergey KHROMOV -#ifndef SKETCHER_HXX -#define SKETCHER_HXX +#ifndef _SKETCHER_HXX_ +#define _SKETCHER_HXX_ #if defined WIN32 # if defined SKETCHER_SALOME_EXPORTS || defined SKETCHER_EXPORTS || defined GEOMSketcher_EXPORTS || defined GEOMSKETCHER_EXPORTS diff --git a/src/SKETCHER/Sketcher_Profile.hxx b/src/SKETCHER/Sketcher_Profile.hxx index 4ff689ac4..8d36b639b 100644 --- a/src/SKETCHER/Sketcher_Profile.hxx +++ b/src/SKETCHER/Sketcher_Profile.hxx @@ -24,6 +24,10 @@ // Author : Damien COQUERET +#ifndef _Sketcher_Profile_HXX_ +#define _Sketcher_Profile_HXX_ + + #include "Sketcher.hxx" #include #include @@ -55,3 +59,5 @@ private: private: TCollection_AsciiString myCommand; }; + +#endif diff --git a/src/SKETCHER/Sketcher_Utils.hxx b/src/SKETCHER/Sketcher_Utils.hxx index 871a1ac54..75360111d 100644 --- a/src/SKETCHER/Sketcher_Utils.hxx +++ b/src/SKETCHER/Sketcher_Utils.hxx @@ -24,6 +24,10 @@ // Author : Sergey KHROMOV +#ifndef _Sketcher_Utils_HXX_ +#define _Sketcher_Utils_HXX_ + + #include "Sketcher.hxx" #include @@ -95,3 +99,5 @@ public: std::list &thePoints); }; + +#endif -- 2.39.2