]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Windows compatibility. ana/windows_compatibility V8_1_0rc1
authorunknown <ana@ana.nnov.opencascade.com>
Tue, 13 Sep 2016 14:29:34 +0000 (17:29 +0300)
committerunknown <ana@ana.nnov.opencascade.com>
Tue, 13 Sep 2016 14:29:34 +0000 (17:29 +0300)
src/MEDCalc/cmp/MED.cxx
src/MEDCalc/cmp/MED.hxx
src/MEDCalc/gui/dialogs/CMakeLists.txt
src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx

index 5ce6dac6f840f1c426a8d4e84e72908c01387807..0565faee5f2087d907decad766d221645c6cfb14 100644 (file)
@@ -325,7 +325,7 @@ MED::getStudyPresentations(SALOMEDS::Study_ptr study)
 }
 
 char*
-MED::getStudyPresentationEntry(SALOMEDS::Study_ptr study, int presentationId)
+MED::getStudyPresentationEntry(SALOMEDS::Study_ptr study, CORBA::Long presentationId)
 {
   // set exception handler to catch unexpected CORBA exceptions
   Unexpect aCatch(SALOME_SalomeException);
index fb78501ca39d2606d69dac884bb55b8f3a42f4a4..115e9e2680ff599739f8299cb80d6801bf5b772d 100644 (file)
@@ -79,7 +79,7 @@ public:
   // Get all presentations registered in the study
   MED_ORB::PresentationsList* getStudyPresentations(SALOMEDS::Study_ptr study);
 
-  char* getStudyPresentationEntry(SALOMEDS::Study_ptr study, int presentationId);
+  char* getStudyPresentationEntry(SALOMEDS::Study_ptr study, CORBA::Long presentationId);
 
   void cleanUp();
 
index 9964eea5b6716f84e492c309fd1a9117baaf5e27..b49f72b8f58f4610492b7bb2515091b2d7be4680 100644 (file)
@@ -58,7 +58,7 @@ SET(MEDCALCGUI_dialogs_SOURCES
 ADD_LIBRARY(MEDCALCGUI_dialogs SHARED ${MEDCALCGUI_dialogs_SOURCES} ${MEDCALCGUI_dialogs_HEADERS_MOC} ${MEDCALCGUI_dialogs_FORMS_HEADERS})
 TARGET_LINK_LIBRARIES(MEDCALCGUI_dialogs SalomeIDLMED ${QT_LIBRARIES} ${KERNEL_SalomeIDLKernel}
     ${GUI_SalomeGuiHelpers} ${OMNIORB_LIBRARIES} ${GUI_qtx} ${GUI_suit} ${PLATFORM_LIBRARIES}
-    ${KERNEL_SalomeLifeCycleCORBA} ${KERNEL_SalomeKernelHelpers} ${GUI_SalomeGuiHelpers})
+    ${KERNEL_SalomeLifeCycleCORBA} ${KERNEL_SalomeKernelHelpers} ${GUI_SalomeGuiHelpers} ${KERNEL_SalomeDS})
 INSTALL(TARGETS MEDCALCGUI_dialogs DESTINATION ${SALOME_INSTALL_LIBS})
 
 #
index 8faec9df2a294ad7aff99abbac8bb6fa5d81f5d2..d9297d173a2eba21cfbfa2df9aade8f3f6c2a2c0 100644 (file)
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+#ifdef WIN32
+#define NOMINMAX
+#endif
+
 #include "WidgetPresentationParameters.hxx"
 #include <Basics_Utils.hxx>