Salome HOME
Replace deprecated WNT macro definition by WIN32.
[modules/kernel.git] / src / ModuleCatalog / SALOME_ModuleCatalog_Acomponent_impl.hxx
index 144bb2b9e79eebfbb1823b92a000dd10dd1afb66..9a2e6204ebedaeab81ac6c5cdd05f37151cbf21e 100644 (file)
@@ -1,24 +1,25 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  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 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.
+// 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
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
 //  File   : SALOME_ModuleCatalog_Acomponent_impl.hxx
 //  Author : Estelle Deville
 
 #include "SALOME_ModuleCatalog.hxx"
 
-#include "SALOME_ModuleCatalog_Parser.hxx"
 #include <SALOMEconfig.h>
 
 #include CORBA_SERVER_HEADER(SALOME_ModuleCatalog)
 
+#ifdef WIN32
+#pragma warning(disable:4275) // Disable warning interface non dll
+#pragma warning(disable:4290) // Warning Exception ...
+#endif
+
 class MODULECATALOG_EXPORT SALOME_ModuleCatalog_AcomponentImpl: public POA_SALOME_ModuleCatalog::Acomponent
 {
 public:
@@ -78,7 +83,7 @@ public:
  */
   virtual SALOME_ModuleCatalog::Service* 
              GetService(const char* interfacename, 
-                       const char* servicename) 
+                        const char* servicename) 
              throw(SALOME_ModuleCatalog::NotFound);
 
   //! method to get the default service of an interface of a component
@@ -156,7 +161,7 @@ private :
     \return the interface
   */
   void duplicate(SALOME_ModuleCatalog::DefinitionInterface &I_out,
-                const SALOME_ModuleCatalog::DefinitionInterface &I_in);
+                 const SALOME_ModuleCatalog::DefinitionInterface &I_in);
 
  //! method to duplicate a service
   /*!
@@ -164,7 +169,7 @@ private :
     \return the service
   */
   void duplicate(SALOME_ModuleCatalog::Service & S_out,
-                const SALOME_ModuleCatalog::Service &S_in);
+                 const SALOME_ModuleCatalog::Service &S_in);
 
  //! method to duplicate a parameter
   /*!
@@ -172,7 +177,7 @@ private :
     \return the parameter
   */
   void duplicate(SALOME_ModuleCatalog::ServicesParameter & P_out,
-                const SALOME_ModuleCatalog::ServicesParameter & P_in);
+                 const SALOME_ModuleCatalog::ServicesParameter & P_in);
 
  //! method to duplicate a parameter
   /*!
@@ -180,7 +185,7 @@ private :
     \return the parameter
   */
   void duplicate(SALOME_ModuleCatalog::ServicesDataStreamParameter & P_out,
-                const SALOME_ModuleCatalog::ServicesDataStreamParameter &P_in);
+                 const SALOME_ModuleCatalog::ServicesDataStreamParameter &P_in);
 
 };