class SVTK_RectPicker;
class SVTK_InteractorStyle;
-extern int SALOME_POINT_SIZE;
-extern int SALOME_LINE_WIDTH;
+SVTK_EXPORT extern int SALOME_POINT_SIZE;
+SVTK_EXPORT extern int SALOME_LINE_WIDTH;
#ifdef WIN32
#pragma warning ( disable:4251 )
#include "SVTK_Extension.h"
#ifdef WIN32
+#undef NOGDI
#include <windows.h>
#else
#include <dlfcn.h>
#ifndef SALOMEAPP_EXITDLG_H
#define SALOMEAPP_EXITDLG_H
+#include "SalomeApp.h"
#include <qdialog.h>
class QCheckBox;
/*!\class SalomeApp_ExitDlg
* \brief Describes a dialog box shown on question about quit application
*/
-class SalomeApp_ExitDlg: public QDialog
+class SALOMEAPP_EXPORT SalomeApp_ExitDlg: public QDialog
{
Q_OBJECT
#include <OSD_LoadMode.hxx>
#include <OSD_Function.hxx>
+#ifdef WNT
+# include <process.h>
+#endif
+
+
using namespace std;
/*!
return aStudyId;
}
+CORBA::Long SALOME_Session_i::getPID() {
+ return (CORBA::Long)
+#ifndef WNT
+ getpid();
+#else
+ _getpid();
+#endif
+}
+
bool SALOME_Session_i::restoreVisualState(CORBA::Long theSavePoint)
{
class TEvent: public SALOME_Event {
CORBA::Long GetActiveStudyId();
void ping(){};
- CORBA::Long getPID() { return (CORBA::Long)getpid(); };
+ CORBA::Long getPID();
//! Restors a visual state of the study at theSavePoint
bool restoreVisualState(CORBA::Long theSavePoint);
(bnd[5]-bnd[4])*(bnd[5]-bnd[4]));
}else{
aLength = bnd[1]-bnd[0];
- aLength = max((bnd[3]-bnd[2]),aLength);
- aLength = max((bnd[5]-bnd[4]),aLength);
+ aLength = QMAX((bnd[3]-bnd[2]),aLength);
+ aLength = QMAX((bnd[5]-bnd[4]),aLength);
}
static vtkFloatingPointType aSizeInPercents = 105;