Salome HOME
Make Display/Erase methods of the Displayer virtual
authorvsr <vsr@opencascade.com>
Thu, 10 Apr 2014 12:08:52 +0000 (16:08 +0400)
committervsr <vsr@opencascade.com>
Thu, 10 Apr 2014 12:08:52 +0000 (16:08 +0400)
src/LightApp/LightApp_Displayer.h

index e4f6279dd9ec304c315cc466f309a3ed6cb2cfba..414db57a2794bed0985a64cb0f9c200b3954cf9f 100644 (file)
@@ -43,15 +43,15 @@ public:
   virtual ~LightApp_Displayer();
 
   void Display( const QString&, const bool = true, SALOME_View* = 0 );
-  void Display( const QStringList&, const bool = true,
-                SALOME_View* = 0 );
+  virtual void Display( const QStringList&, const bool = true,
+                        SALOME_View* = 0 );
 
-  void Redisplay( const QString&, const bool = true );
+  virtual void Redisplay( const QString&, const bool = true );
 
-  void Erase( const QStringList&, const bool forced = false,
-              const bool updateViewer = true, SALOME_View* = 0);
+  virtual void Erase( const QStringList&, const bool forced = false,
+                      const bool updateViewer = true, SALOME_View* = 0);
   void Erase( const QString&, const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 );
-  void EraseAll( const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ) const;
+  virtual void EraseAll( const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ) const;
 
   virtual bool IsDisplayed( const QString&, SALOME_View* = 0 ) const;
   void UpdateViewer() const;