First Working WIN32 version

This commit is contained in:
abd 2006-04-27 12:00:55 +00:00
parent f197df9d7c
commit 5d22e217be
5 changed files with 25 additions and 7 deletions

View File

@ -7,8 +7,6 @@
// Copyright : CEA 2003
// $Header$
//=============================================================================
using namespace std;
#include "NETGENPlugin_NETGEN_3D.hxx"
#include "SMESH_Gen.hxx"
@ -33,7 +31,14 @@ using namespace std;
Netgen include files
*/
#include "nglib.h"
namespace nglib
{
#include <nglib.h>
}
using namespace nglib;
using namespace std;
//=============================================================================
/*!

View File

@ -11,12 +11,22 @@
#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);

View File

@ -27,13 +27,14 @@
// 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

View File

@ -39,7 +39,7 @@
// ======================================================
// 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
{

View File

@ -26,11 +26,12 @@
// Module : SMESH
// $Header$
using namespace std;
#include "utilities.h"
#include "NETGENPlugin_NETGEN_3D_i.hxx"
using namespace std;
//=============================================================================
/*!
*
@ -39,6 +40,7 @@ using namespace std;
extern "C"
{
NETGENPLUGIN_EXPORT
GenericHypothesisCreator_i* GetHypothesisCreator (const char* aHypName)
{
MESSAGE("GetHypothesisCreator " << aHypName);