#define SALOMEAPP_EXPORT __declspec(dllimport)
#endif
+#if defined SALOMEAPPIMPL_EXPORTS || defined SalomeAppImpl_EXPORTS
+#define SALOMEAPPIMPL_EXPORT __declspec(dllexport)
+#else
+#define SALOMEAPPIMPL_EXPORT __declspec(dllimport)
+#endif
+
+#if defined SALOMEAPPSL_EXPORTS || defined SalomeAppSL_EXPORTS
+#define SALOMEAPPSL_EXPORT __declspec(dllexport)
+#else
+#define SALOMEAPPSL_EXPORT __declspec(dllimport)
+#endif
+
#else
#define SALOMEAPP_EXPORT
+#define SALOMEAPPIMPL_EXPORT
+#define SALOMEAPPSL_EXPORT
#endif //WIN32
#define APP_VERSION "0.1"
\brief Application containing SalomeApp module or LightApp module
*/
-class SALOMEAPP_EXPORT SalomeApp_Application : public LightApp_Application
+class SALOMEAPPIMPL_EXPORT SalomeApp_Application : public LightApp_Application
{
Q_OBJECT
#include "SalomeApp_Application.h"
-class SALOMEAPP_EXPORT SalomeApp_Application_SL : public SalomeApp_Application
+class SALOMEAPPIMPL_EXPORT SalomeApp_Application_SL : public SalomeApp_Application
{
public:
SalomeApp_Application_SL();
#include "SalomeApp_Application_SL.h"
/*!Create new instance of SalomeApp_Application.*/
-extern "C" SALOMEAPP_EXPORT SUIT_Application* createApplication()
+extern "C" SALOMEAPPSL_EXPORT SUIT_Application* createApplication()
{
return new SalomeApp_Application_SL;
}
class QCheckBox;
-class SALOMEAPP_EXPORT SalomeApp_CheckFileDlg : public SUIT_FileDlg
+class SALOMEAPPIMPL_EXPORT SalomeApp_CheckFileDlg : public SUIT_FileDlg
{
Q_OBJECT
// Class : SalomeApp_DataModel
/// Description : Base class of data model
-class SALOMEAPP_EXPORT SalomeApp_DataModel : public LightApp_DataModel
+class SALOMEAPPIMPL_EXPORT SalomeApp_DataModel : public LightApp_DataModel
{
Q_OBJECT
class SalomeApp_Study;
-class SALOMEAPP_EXPORT SalomeApp_DataObject : public virtual LightApp_DataObject
+class SALOMEAPPIMPL_EXPORT SalomeApp_DataObject : public virtual LightApp_DataObject
{
public:
_PTR(SObject) myObject;
};
-class SALOMEAPP_EXPORT SalomeApp_ModuleObject : public SalomeApp_DataObject,
+class SALOMEAPPIMPL_EXPORT SalomeApp_ModuleObject : public SalomeApp_DataObject,
public CAM_ModuleObject
{
public:
QString toolTip( const int = NameId ) const;
};
-class SALOMEAPP_EXPORT SalomeApp_RootObject : public SalomeApp_DataObject,
+class SALOMEAPPIMPL_EXPORT SalomeApp_RootObject : public SalomeApp_DataObject,
public LightApp_RootObject
{
public:
bool _toSynchronize;
};
-class SALOMEAPP_EXPORT SalomeApp_SavePointObject : public virtual LightApp_DataObject
+class SALOMEAPPIMPL_EXPORT SalomeApp_SavePointObject : public virtual LightApp_DataObject
{
public:
SalomeApp_SavePointObject( SUIT_DataObject*, const int, SalomeApp_Study* );
SalomeApp_Study* myStudy;
};
-class SALOMEAPP_EXPORT SalomeApp_SavePointRootObject : public SUIT_DataObject
+class SALOMEAPPIMPL_EXPORT SalomeApp_SavePointRootObject : public SUIT_DataObject
{
public:
SalomeApp_SavePointRootObject( SUIT_DataObject* );
#include <QValidator>
-class SALOMEAPP_EXPORT SalomeApp_DoubleSpinBox : public QtxDoubleSpinBox
+class SALOMEAPPIMPL_EXPORT SalomeApp_DoubleSpinBox : public QtxDoubleSpinBox
{
Q_OBJECT
class SALOME_NamingService_Abstract;
-class SALOMEAPP_EXPORT SalomeApp_Engine_i: public POA_SalomeApp::Engine,
+class SALOMEAPPIMPL_EXPORT SalomeApp_Engine_i: public POA_SalomeApp::Engine,
public Engines_Component_i
{
public:
}
/*!Create new SUIT_ExceptionHandler*/
-extern "C" SALOMEAPP_EXPORT SUIT_ExceptionHandler* getExceptionHandler()
+extern "C" SALOMEAPPIMPL_EXPORT SUIT_ExceptionHandler* getExceptionHandler()
{
// MSV 2006-04-26: work around PAL12004 "VTK window => SIGFPE Arithmetic Exception Detected"
// We disable FPE signal as it was in earlier versions of SALOME. It is enabled
#include <SUIT_ExceptionHandler.h>
-class SALOMEAPP_EXPORT SalomeApp_ExceptionHandler : public SUIT_ExceptionHandler
+class SALOMEAPPIMPL_EXPORT SalomeApp_ExceptionHandler : public SUIT_ExceptionHandler
{
public:
SalomeApp_ExceptionHandler( const bool );
class SalomeApp_Study;
-class SALOMEAPP_EXPORT SalomeApp_Filter: public SUIT_SelectionFilter
+class SALOMEAPPIMPL_EXPORT SalomeApp_Filter: public SUIT_SelectionFilter
{
public:
SalomeApp_Filter(SalomeApp_Study* study);
#include <QValidator>
-class SALOMEAPP_EXPORT SalomeApp_IntSpinBox : public QtxIntSpinBox
+class SALOMEAPPIMPL_EXPORT SalomeApp_IntSpinBox : public QtxIntSpinBox
{
Q_OBJECT
class QPushButton;
class QStringList;
-class SALOMEAPP_EXPORT SalomeApp_LoadStudiesDlg : public QDialog
+class SALOMEAPPIMPL_EXPORT SalomeApp_LoadStudiesDlg : public QDialog
{
Q_OBJECT
/*!
* \brief Base class for all salome modules
*/
-class SALOMEAPP_EXPORT SalomeApp_Module : public LightApp_Module
+class SALOMEAPPIMPL_EXPORT SalomeApp_Module : public LightApp_Module
{
Q_OBJECT
typedef QMap< int, NoteBoox_Variable > VariableMap;
-class SALOMEAPP_EXPORT NoteBook_TableRow : public QWidget
+class SALOMEAPPIMPL_EXPORT NoteBook_TableRow : public QWidget
{
public:
NoteBook_TableRow(int, NoteBook_Table* parentTable, QWidget* parent=0 );
QTableWidgetItem* myVariableValue;
};
-class SALOMEAPP_EXPORT NoteBook_Table : public QTableWidget
+class SALOMEAPPIMPL_EXPORT NoteBook_Table : public QTableWidget
{
Q_OBJECT
public:
VariableMap myVariableMap;
};
-class SALOMEAPP_EXPORT SalomeApp_NoteBook : public QWidget
+class SALOMEAPPIMPL_EXPORT SalomeApp_NoteBook : public QWidget
{
Q_OBJECT
public:
#include "SALOMEDSClient.hxx"
-class SALOMEAPP_EXPORT SalomeApp_Study : public LightApp_Study
+class SALOMEAPPIMPL_EXPORT SalomeApp_Study : public LightApp_Study
{
Q_OBJECT
class QTreeWidget;
class QPushButton;
-class SALOMEAPP_EXPORT SalomeApp_StudyPropertiesDlg : public QDialog
+class SALOMEAPPIMPL_EXPORT SalomeApp_StudyPropertiesDlg : public QDialog
{
Q_OBJECT
public:
/*!
Class which provide color converter and exception message box.
*/
-class SALOMEAPP_EXPORT SalomeApp_Tools : public SUIT_Tools
+class SALOMEAPPIMPL_EXPORT SalomeApp_Tools : public SUIT_Tools
{
public:
static Quantity_Color color( const QColor& );
/*!
Class which provide data owner validation.
*/
-class SALOMEAPP_EXPORT SalomeApp_TypeFilter: public SalomeApp_Filter
+class SALOMEAPPIMPL_EXPORT SalomeApp_TypeFilter: public SalomeApp_Filter
{
public:
SalomeApp_TypeFilter( SalomeApp_Study* study, const QString& kind );
class SalomeApp_Application;
-class SALOMEAPP_EXPORT SalomeApp_VisualState: public QObject
+class SALOMEAPPIMPL_EXPORT SalomeApp_VisualState: public QObject
{
public:
SalomeApp_VisualState( SalomeApp_Application* );
#pragma once
#include "SALOME_NamingService.hxx"
+#include "SALOME_Session.hxx"
#include "omniORB4/CORBA.h"
class Engines_Container_i;
-class OldStyleNS
+class SESSION_EXPORT OldStyleNS
{
public:
using RealNS = SALOME_NamingService;
#include "SALOME_Fake_NamingService.hxx"
-class NewStyleNS
+class SESSION_EXPORT NewStyleNS
{
public:
using RealNS = SALOME_Fake_NamingService;
#include "SALOMEconfig.h"
#include CORBA_SERVER_HEADER(SALOME_Session)
+#include "SALOME_Session.hxx"
#include <future>
-std::promise<SALOME::Session_var> *GetSessionRefSingleton();
+SESSION_EXPORT std::promise<SALOME::Session_var> *GetSessionRefSingleton();