LIGHTGUI_Selection.h
LIGHTGUI_DataObject.h
LIGHTGUI_TextPrs.hxx
+ LIGHTGUI_Exports.hxx
)
# header files / to install
\return new created instance of the module
*/
-#ifdef WNT
-#define LIGHTGUI_EXPORT __declspec(dllexport)
-#else // WNT
-#define LIGHTGUI_EXPORT
-#endif // WNT
-
extern "C" {
- LIGHTGUI_EXPORT CAM_Module* createModule() {
+ LIGHT_EXPORT CAM_Module* createModule() {
return new LIGHTGUI();
}
- LIGHTGUI_EXPORT char* getModuleVersion() {
+ LIGHT_EXPORT char* getModuleVersion() {
return (char*)LIGHT_VERSION_STR;
}
}
#ifndef LIGHTGUI_H
#define LIGHTGUI_H
+#include "LIGHTGUI_Exports.hxx"
#include <LightApp_Module.h>
class QMenu;
class LightApp_Selection;
class LightApp_SelectionMgr;
-class LIGHTGUI: public LightApp_Module
+class LIGHT_EXPORT LIGHTGUI: public LightApp_Module
{
Q_OBJECT
#ifndef LIGHTGUI_DATAMODEL_H
#define LIGHTGUI_DATAMODEL_H
+#include "LIGHTGUI_Exports.hxx"
+
#include <LightApp_DataModel.h>
class CAM_Module;
class LightApp_DataObject;
class LIGHTGUI_DataObject;
-class LIGHTGUI_DataModel : public LightApp_DataModel
+class LIGHT_EXPORT LIGHTGUI_DataModel : public LightApp_DataModel
{
Q_OBJECT
#ifndef LIGHTGUI_DATAOBJECT_H
#define LIGHTGUI_DATAOBJECT_H
+#include "LIGHTGUI_Exports.hxx"
+
#include <LightApp_DataObject.h>
#include <QString>
-class LIGHTGUI_DataObject : public virtual LightApp_DataObject
+class LIGHT_EXPORT LIGHTGUI_DataObject : public virtual LightApp_DataObject
{
public:
LIGHTGUI_DataObject( const int, const QString&, SUIT_DataObject* = 0 );
--- /dev/null
+// Copyright (C) 2005-2013 OPEN CASCADE
+//
+// 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
+//
+
+// LIGHT : sample (no-corba-engine) SALOME module
+// File : LIGHTGUI_Exports.h
+// Author : Roman NIKOLAEV
+
+#ifndef _LIGHTGUI_EXPORTS_HXX_
+#define _LIGHTGUI_EXPORTS_HXX_
+#ifdef WIN32
+ #if defined LIGHT_EXPORTS || defined Light_EXPORTS
+ #define LIGHT_EXPORT __declspec( dllexport )
+ #else
+ #define LIGHT_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define LIGHT_EXPORT
+#endif
+
+#endif //_LIGHTGUI_EXPORTS_HXX_
+
#ifndef LIGHTGUI_SELECTION_H
#define LIGHTGUI_SELECTION_H
+#include "LIGHTGUI_Exports.hxx"
+
#include <LightApp_Selection.h>
#include <QVariant>
class LightApp_SelectionMgr;
-class LIGHTGUI_Selection : public LightApp_Selection
+class LIGHT_EXPORT LIGHTGUI_Selection : public LightApp_Selection
{
public:
LIGHTGUI_Selection();