]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Useless class GLViewer_Owner was replaced by SUIT_DataOwner.
authorstv <stv@opencascade.com>
Tue, 29 Aug 2006 11:08:46 +0000 (11:08 +0000)
committerstv <stv@opencascade.com>
Tue, 29 Aug 2006 11:08:46 +0000 (11:08 +0000)
src/GLViewer/GLViewer_Object.h

index 49373a8ccad7fe42674392d6de2fed26e6c527c1..61faf8944c5b2efee27358a2540b23e6fa3d5601 100644 (file)
@@ -233,9 +233,9 @@ public:
   virtual bool              translateToEMF( HDC dc, GLViewer_CoordSystem* aViewerCS, GLViewer_CoordSystem* aEMFCS ) = 0;
 #endif
   //!\warning It is for ouv
-  GLViewer_Owner*           owner() const { return myOwner; }
+  SUIT_DataOwner*           owner() const { return myOwner; }
   //!\warning It is for ouv
-  void                      setOwner( GLViewer_Owner* owner ) { myOwner = owner; }
+  void                      setOwner( SUIT_DataOwner* owner ) { myOwner = owner; }
   
   //! Adds object to group theGroup
   void                      setGroup( GLViewer_Group* theGroup );
@@ -297,26 +297,12 @@ protected:
   bool                      myIsVisible;
 
   //!\warning It is for ouv
-  GLViewer_Owner*           myOwner;
+  SUIT_DataOwner*           myOwner;
 
   //! Object Group
   GLViewer_Group*           myGroup;
 };
 
-
-//!\warning It is for ouv
-class GLVIEWER_API GLViewer_Owner : public SUIT_DataOwner
-{
-public:
-  //!\warning It is for ouv
-  GLViewer_Owner() : SUIT_DataOwner() {}
-  //!\warning It is for ouv
-  ~GLViewer_Owner() {}
-
-protected:
-
-};
-
 #ifdef WNT
 #pragma warning ( default:4251 )
 #endif