// Copyright : CEA 2003
// $Header$
//=============================================================================
-using namespace std;
-
#include "NETGENPlugin_NETGEN_3D.hxx"
#include "SMESH_Gen.hxx"
Netgen include files
*/
-#include "nglib.h"
+namespace nglib
+{
+ #include <nglib.h>
+}
+
+using namespace nglib;
+
+using namespace std;
//=============================================================================
/*!
#ifndef _NETGENPlugin_NETGEN_3D_HXX_
#define _NETGENPlugin_NETGEN_3D_HXX_
+#ifdef WIN32
+ #ifdef NETGENPLUGIN_EXPORTS
+ #define NETGENPLUGIN_EXPORT __declspec( dllexport )
+ #else
+ #define NETGENPLUGIN_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define NETGENPLUGIN_EXPORT
+#endif
+
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
-class NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
+class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
{
public:
NETGENPlugin_NETGEN_3D(int hypId, int studyId, SMESH_Gen* gen);
// Module : SMESH
// $Header$
-using namespace std;
#include "NETGENPlugin_NETGEN_3D_i.hxx"
#include "SMESH_Gen.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
+using namespace std;
+
//=============================================================================
/*!
* NETGENPlugin_NETGEN_3D_i::NETGENPlugin_NETGEN_3D_i
// ======================================================
// NETGEN 3d algorithm
// ======================================================
-class NETGENPlugin_NETGEN_3D_i:
+class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D_i:
public virtual POA_NETGENPlugin::NETGENPlugin_NETGEN_3D,
public virtual SMESH_3D_Algo_i
{
// Module : SMESH
// $Header$
-using namespace std;
#include "utilities.h"
#include "NETGENPlugin_NETGEN_3D_i.hxx"
+using namespace std;
+
//=============================================================================
/*!
*
extern "C"
{
+ NETGENPLUGIN_EXPORT
GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
{
MESSAGE("GetHypothesisCreator " << aHypName);