-class SALOME_PYQT_EXPORT SALOME_PYQT_DataModelLight : public LightApp_DataModel
+class SALOME_PYQT_LIGHT_EXPORT SALOME_PYQT_DataModelLight : public LightApp_DataModel
{
Q_OBJECT
/*!
* SALOME_PYQT_DataObjectLight - PYTHON LIGHT module's data object class
*/
-class SALOME_PYQT_EXPORT SALOME_PYQT_DataObjectLight : public virtual LightApp_DataObject
+class SALOME_PYQT_LIGHT_EXPORT SALOME_PYQT_DataObjectLight : public virtual LightApp_DataObject
{
public:
// set dllexport type for Win platform
#ifdef WNT
-#ifdef SALOME_PYQT_EXPORTS
-#define SALOME_PYQT_EXPORT __declspec(dllexport)
+#if defined SALOME_PYQT_LIGHT_EXPORTS || defined SalomePyQtGUILight_EXPORTS
+#define SALOME_PYQT_LIGHT_EXPORT __declspec(dllexport)
#else
-#define SALOME_PYQT_EXPORT __declspec(dllimport)
+#define SALOME_PYQT_LIGHT_EXPORT __declspec(dllimport)
#endif
#else // WNT
-#define SALOME_PYQT_EXPORT
+#define SALOME_PYQT_LIGHT_EXPORT
#endif // WNT
*/
extern "C" {
- SALOME_PYQT_EXPORT CAM_Module* createModule() {
+ SALOME_PYQT_LIGHT_EXPORT CAM_Module* createModule() {
static bool alreadyInitialized = false;
if ( !alreadyInitialized ) {
class QMenu;
-class SALOME_PYQT_EXPORT SALOME_PYQT_ModuleLight: virtual public LightApp_Module
+class SALOME_PYQT_LIGHT_EXPORT SALOME_PYQT_ModuleLight: virtual public LightApp_Module
{
Q_OBJECT;
#include "PyInterp_Interp.h" // this include must be first !!!
-class SALOME_PYQT_EXPORT SALOME_PYQT_PyInterp : public PyInterp_Interp
+class SALOME_PYQT_LIGHT_EXPORT SALOME_PYQT_PyInterp : public PyInterp_Interp
{
public:
SALOME_PYQT_PyInterp();