-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// 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
#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
/**
* 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
* 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:
/**