#include <qvbox.h>
#include <qguardedptr.h>
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
+#include <SALOME_Session.hxx>
/**********************************************************
** Class: InquireEvent
** Descr: Contains QCustomEvents for posting to InquireServersQThread
** Level: Private
***********************************************************/
-class SALOME_WNT_EXPORT InquireEvent : public QCustomEvent
+class SESSION_EXPORT InquireEvent : public QCustomEvent
{
public:
class InquireServersGUI;
-class SALOME_WNT_EXPORT InquireServersQThread : public QThread
+class SESSION_EXPORT InquireServersQThread : public QThread
{
public:
InquireServersQThread( InquireServersGUI* r );
class QLabel;
class QFrame;
class QProgressBar;
-class SALOME_WNT_EXPORT InquireServersGUI : public QVBox
+class SESSION_EXPORT InquireServersGUI : public QVBox
{
Q_OBJECT
--- /dev/null
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SALOME_Session.hxx
+// Author : Alexander A. BORODIN
+// Module : GUI
+
+#ifndef _SALOME_Session_HXX_
+#define _SALOME_Session_HXX_
+
+#ifdef WNT
+ #if defined SESSION_EXPORTS
+ #if defined WIN32
+ #define SESSION_EXPORT __declspec( dllexport )
+ #else
+ #define SESSION_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define SESSION_EXPORT __declspec( dllimport )
+ #else
+ #define SESSION_EXPORT
+ #endif
+ #endif
+#else
+ #define SESSION_EXPORT
+#endif
+
+#endif
\ No newline at end of file
#ifndef _SALOMEAPP_ENGINE_I_HXX_
#define _SALOMEAPP_ENGINE_I_HXX_
+#include <SALOME_Session.hxx>
+
#include "SALOME_Component_i.hxx"
#include <vector>
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SalomeApp_Engine)
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT SalomeApp_Engine_i: public POA_SalomeApp::Engine,
+class SESSION_EXPORT SalomeApp_Engine_i: public POA_SalomeApp::Engine,
public Engines_Component_i
{
public:
#ifndef _SESSION_SERVERLAUNCHER_HXX_
#define _SESSION_SERVERLAUNCHER_HXX_
+#include <SALOME_Session.hxx>
+
#include "Session_ServerThread.hxx"
#include <CORBA.h>
#include <qthread.h>
#include <qwaitcondition.h>
-
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
using namespace std;
-class ServArg
+class SESSION_EXPORT ServArg
{
public:
int _servType;
_servType(servType),_firstArg(firstArg),_lastArg(lastArg)
{}
-class SALOME_WNT_EXPORT Session_ServerLauncher: public QThread
+class SESSION_EXPORT Session_ServerLauncher: public QThread
{
public:
Session_ServerLauncher();
#ifndef _SESSION_SERVERTHREAD_HXX_
#define _SESSION_SERVERTHREAD_HXX_
+#include <SALOME_Session.hxx>
+
#include <CORBA.h>
#include <string>
void WaitForServerReadiness(string serverName);
-class Session_ServerThread
+class SESSION_EXPORT Session_ServerThread
{
public:
static const int NB_SRV_TYP;
};
-class Session_SessionThread : public Session_ServerThread
+class SESSION_EXPORT Session_SessionThread : public Session_ServerThread
{
public:
Session_SessionThread() {}
#ifndef _SESSION_SESSION_I_HXX_
#define _SESSION_SESSION_I_HXX_
+#include <SALOME_Session.hxx>
+
#include <qthread.h>
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Session)
class SALOME_NamingService;
-class SALOME_Session_i: public virtual POA_SALOME::Session,
+class SESSION_EXPORT SALOME_Session_i: public virtual POA_SALOME::Session,
public virtual PortableServer::RefCountServantBase
{
public: