From 59a23b8b0354531005f02cba7d490d83968a980a Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 6 Mar 2006 08:29:02 +0000 Subject: [PATCH] Updated environment and import/export directives --- src/SALOMELocalTrace/SALOME_LocalTrace.hxx | 47 ++++++++++++++++++++++ src/Utils/SALOME_Utils.hxx | 47 ++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100755 src/SALOMELocalTrace/SALOME_LocalTrace.hxx create mode 100755 src/Utils/SALOME_Utils.hxx diff --git a/src/SALOMELocalTrace/SALOME_LocalTrace.hxx b/src/SALOMELocalTrace/SALOME_LocalTrace.hxx new file mode 100755 index 000000000..7ce182f86 --- /dev/null +++ b/src/SALOMELocalTrace/SALOME_LocalTrace.hxx @@ -0,0 +1,47 @@ +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SALOME_LocalTrace.hxx +// Author : Alexander A. BORODIN +// Module : SALOME + +#ifndef _SALOME_LOCALTRACE_HXX_ +#define _SALOME_LOCALTRACE_HXX_ + +#ifdef WNT + #if defined SALOMELOCALTRACE_EXPORTS + #if defined WIN32 + #define SALOMELOCALTRACE_EXPORT __declspec( dllexport ) + #else + #define SALOMELOCALTRACE_EXPORT + #endif + #else + #if defined WIN32 + #define SALOMELOCALTRACE_EXPORT __declspec( dllimport ) + #else + #define SALOMELOCALTRACE_EXPORT + #endif + #endif +#else + #define SALOMELOCALTRACE_EXPORT +#endif + +#endif \ No newline at end of file diff --git a/src/Utils/SALOME_Utils.hxx b/src/Utils/SALOME_Utils.hxx new file mode 100755 index 000000000..c6837bc85 --- /dev/null +++ b/src/Utils/SALOME_Utils.hxx @@ -0,0 +1,47 @@ +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SALOME_LocalTrace.hxx +// Author : Alexander A. BORODIN +// Module : SALOME + +#ifndef _SALOME_UTILS_HXX_ +#define _SALOME_UTILS_HXX_ + +#ifdef WNT + #if defined UTILS_EXPORTS + #if defined WIN32 + #define UTILS_EXPORT __declspec( dllexport ) + #else + #define UTILS_EXPORT + #endif + #else + #if defined WIN32 + #define UTILS_EXPORT __declspec( dllimport ) + #else + #define UTILS_EXPORT + #endif + #endif +#else + #define UTILS_EXPORT +#endif + +#endif \ No newline at end of file -- 2.39.2