Export classes for right compilation on Win32 platform

This commit is contained in:
abd 2008-10-27 11:51:16 +00:00
parent 2bb33936cd
commit 0afb54e091
4 changed files with 42 additions and 11 deletions

View File

@ -33,6 +33,7 @@ lib_LTLIBRARIES = libNETGENPluginGUI.la
dist_libNETGENPluginGUI_la_SOURCES = \
NETGENPluginGUI.cxx \
NETGENPluginGUI.h \
NETGENPluginGUI_HypothesisCreator.h \
NETGENPluginGUI_HypothesisCreator.cxx \
NETGENPluginGUI_SimpleCreator.h \

36
src/GUI/NETGENPluginGUI.h Executable file
View File

@ -0,0 +1,36 @@
// NETGENPlugin GUI: GUI for plugged-in mesher NETGENPlugin
//
// Copyright (C) 2003 CEA
//
// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : NETGENPluginGUI.h
// Author : Alexander A. BORODIN
// Module : NETGENPlugin
// $Header:
#ifdef WIN32
#ifdef NETGENPLUGIN_GUI_EXPORTS
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
#else
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )
#endif
#else
#define NETGENPLUGIN_GUI_EXPORT
#endif

View File

@ -28,15 +28,7 @@
#ifndef NETGENPLUGINGUI_HypothesisCreator_HeaderFile
#define NETGENPLUGINGUI_HypothesisCreator_HeaderFile
#ifdef WIN32
#ifdef NETGENPLUGIN_GUI_EXPORTS
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
#else
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )
#endif
#else
#define NETGENPLUGIN_GUI_EXPORT
#endif
#include "NETGENPluginGUI.h"
#include <SMESHGUI_Hypotheses.h>

View File

@ -24,8 +24,9 @@
#ifndef NETGENPluginGUI_SimpleCreator_H
#define NETGENPluginGUI_SimpleCreator_H
#include "NETGENPluginGUI.h"
// SMESH includes
#include "NETGENPlugin_Defs.hxx"
#include <SMESHGUI_Hypotheses.h>
class QCheckBox;
@ -34,7 +35,8 @@ class QRadioButton;
class QtxIntSpinBox;
class SMESHGUI_SpinBox;
class NETGENPLUGIN_EXPORT NETGENPluginGUI_SimpleCreator : public SMESHGUI_GenericHypothesisCreator
class NETGENPLUGIN_GUI_EXPORT NETGENPluginGUI_SimpleCreator :
public SMESHGUI_GenericHypothesisCreator
{
Q_OBJECT