]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
DISABLE_HDF flag
authorsln <sln@opencascade.com>
Tue, 9 Oct 2012 13:15:15 +0000 (13:15 +0000)
committersln <sln@opencascade.com>
Tue, 9 Oct 2012 13:15:15 +0000 (13:15 +0000)
src/LightApp/LightApp_HDFDriver.cxx
src/LightApp/LightApp_HDFDriver.h
src/LightApp/LightApp_Study.cxx

index 7ddff2f200eb3764797c089bf0b79d1e4f412f76..92883e8341b849f469e2e1f14671b96d5fabf647 100644 (file)
@@ -16,6 +16,9 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
+#ifndef DISABLE_HDF
+
 #include "LightApp_HDFDriver.h"
 
 #include "HDFexplorer.hxx"
@@ -375,3 +378,5 @@ bool LightApp_HDFDriver::ReadDatasFromFile( const char* theFileName, bool isMult
 
   return !isError;
 }
+
+#endif //DISABLE_HDF
\ No newline at end of file
index 9f199512922e32eb464d7d6ca39f15da01436231..ca257ddb1419ff5fc59f5611018aeab54482e734 100644 (file)
@@ -16,6 +16,9 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
+#ifndef DISABLE_HDF
+
 #ifndef LIGHTAPP_HDFDRIVER_H
 #define LIGHTAPP_HDFDRIVER_H
 
@@ -39,3 +42,5 @@ public:
 };
 
 #endif
+
+#endif //DISABLE_HDF
\ No newline at end of file
index dda081079bac40716e3ad24fda5adb72d3a011d1..fe312a80c7fee706a895ba8c4089e8a3ec5084cc 100644 (file)
@@ -40,8 +40,11 @@ LightApp_Study::LightApp_Study( SUIT_Application* app )
 : CAM_Study( app )
 {
   // HDF persistence
+#ifndef DISABLE_HDF
   myDriver = new LightApp_HDFDriver();
-  //myDriver = new LightApp_Driver();
+#else
+  myDriver = new LightApp_Driver();
+#endif 
 }
 
 /*!