]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
virtual inheritance is removed
authorasl <asl@opencascade.com>
Mon, 3 Apr 2006 10:15:04 +0000 (10:15 +0000)
committerasl <asl@opencascade.com>
Mon, 3 Apr 2006 10:15:04 +0000 (10:15 +0000)
src/LightApp/LightApp_DataObject.cxx
src/LightApp/LightApp_DataObject.h

index 831385908709ea9eb99aa8db86036be52e57fff7..b02757d5372da0be564cec6dab6dff9fae4d2c2c 100644 (file)
@@ -149,15 +149,15 @@ QString LightApp_DataObject::componentDataType() const
 
 /*!Constructor.Initialize by \a parent.*/
 LightApp_ModuleObject::LightApp_ModuleObject( SUIT_DataObject* parent )
-: CAM_RootObject( parent ),
-  CAM_DataObject( parent )
+: CAM_RootObject( parent )//,
+  //CAM_DataObject( parent )
 {
 }
 
 /*!Constructor.Initialize by \a module and parent.*/
 LightApp_ModuleObject::LightApp_ModuleObject( CAM_DataModel* dm, SUIT_DataObject* parent )
-: CAM_RootObject( dm, parent ),
-  CAM_DataObject( parent )
+: CAM_RootObject( dm, parent )//,
+  //CAM_DataObject( parent )
 {
 }
 
index 1f194ffc2306e03662d839100616d02ed070e2c6..6c64ea49d509fcb2f84a72ff784ed387d389287a 100644 (file)
 #include "LightApp.h"
 
 #include "CAM_DataObject.h"
-#include "CAM_DataModel.h"
 #include "CAM_RootObject.h"
 
 class LightApp_Study;
+class CAM_DataModel;
 
 /*!Description : Data Object has empty entry so it's children must redefine metod entry() and return some unique string*/
 // to do : decomment virtual inheritance 
-class LIGHTAPP_EXPORT LightApp_DataObject : public virtual CAM_DataObject
+class LIGHTAPP_EXPORT LightApp_DataObject : public CAM_DataObject
 {
   class Key;