//
#ifndef IDEFX_ParamsConfigWidget_HXX
#define IDEFX_ParamsConfigWidget_HXX
+#include "ydefxguiExports.hxx"
#include "JobParametersProxy.hxx"
#include <QtWidgets>
namespace ydefx
{
-class ParamsConfigWidget: public QScrollArea
+class YDEFXGUI_EXPORT ParamsConfigWidget: public QScrollArea
{
Q_OBJECT
public:
//
#ifndef IDEFX_PathsConfigWidget_HXX
#define IDEFX_PathsConfigWidget_HXX
+#include "ydefxguiExports.hxx"
#include "JobParametersProxy.hxx"
#include <QtWidgets>
namespace ydefx
{
-class PathsConfigWidget: public QScrollArea
+class YDEFXGUI_EXPORT PathsConfigWidget: public QScrollArea
{
Q_OBJECT
public:
//
#ifndef IDEFX_QuickConfigWidget_HXX
#define IDEFX_QuickConfigWidget_HXX
+#include "ydefxguiExports.hxx"
#include "JobParametersProxy.hxx"
#include <QtWidgets>
namespace ydefx
{
-class QuickConfigWidget: public QScrollArea
+class YDEFXGUI_EXPORT QuickConfigWidget: public QScrollArea
{
Q_OBJECT
public:
//
#ifndef IDEFX_RESOURCEWIDGET_HXX
#define IDEFX_RESOURCEWIDGET_HXX
+#include "ydefxguiExports.hxx"
#include "JobParametersProxy.hxx"
#include <QtWidgets>
namespace ydefx
{
-class ResourceWidget: public QTabWidget
+class YDEFXGUI_EXPORT ResourceWidget: public QTabWidget
{
Q_OBJECT
public:
--- /dev/null
+// Copyright (C) 2021 EDF R&D
+//
+// 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, or (at your option) any later version.
+//
+// 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
+//
+
+#pragma once
+
+#ifdef WIN32
+# if defined(ydefxgui_EXPORTS) || defined(ydefxgui_EXPORTS)
+# define YDEFXGUI_EXPORT __declspec( dllexport )
+# else
+# define YDEFXGUI_EXPORT __declspec( dllimport )
+# endif
+#else
+# define YDEFXGUI_EXPORT
+#endif