Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DataObject.h
index 28aa22e4df5f90e668161e4ae712dd830b1141f3..12dfa7102db85e2164635dc314327b44b68441c6 100644 (file)
   #pragma warning( disable: 4251 )
 #endif
 
-#include <LightApp_DataObject.h>
+#ifdef TEST_MODE
+  #include <CAM_DataObject.h>
+  enum { 
+    EntryId = CAM_DataObject::VisibilityId + 1,    //!< entry column
+    RefEntryId                     //!< reference entry column
+  };
+  #define PARENT CAM_DataObject
+#else
+  #include <LightApp_DataObject.h>
+  #define PARENT LightApp_DataObject
+#endif
+
 #include <QString>
 #include <QMap>
 #include <QPixmap>
 #include <QColor>
 
 #ifdef WIN32
-  #pragma warning( disable: 4250 )
-  #pragma warning( disable: 4251 )
+  #pragma warning( default: 4250 )
+  #pragma warning( default: 4251 )
 #endif
 
 /**
@@ -47,7 +58,7 @@
  * This class inherits CAM_DataObject virtually, so it is necessary to call in the class
  * constructor the CAM object constructor manually for the correct initialization
  */
-class HYDROGUI_DataObject : public LightApp_DataObject
+class HYDROGUI_DataObject : public PARENT
 {
 public:
   //! Column id
@@ -166,7 +177,7 @@ protected:
  * This class inherits CAM_DataObject virtually, so it is necessary to call in the class
  * constructor the CAM object constructor manually for the correct initialization
  */
-class HYDROGUI_NamedObject : public virtual LightApp_DataObject
+class HYDROGUI_NamedObject : public virtual PARENT
 {
 public:
   /**