Salome HOME
lot 15:: protection against corrupted polylines/objects
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_AbstractDisplayer.h
index 7b3a11db9cb8e4137476448214caac1b36b1d2c8..2973dc1db5d4e426106f261c0763a06036e0018d 100644 (file)
@@ -1,8 +1,4 @@
-// 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
@@ -85,6 +81,8 @@ public:
    */
   virtual QString  GetType() const = 0;
 
+  HYDROGUI_Module* module() const {return myModule;}
+
 protected:
   /**
    * \brief Update and display all objects in the viewer.
@@ -140,7 +138,7 @@ protected:
    */
   virtual void     purgeObjects( const int theViewerId ) = 0;
 
-  HYDROGUI_Module* module() const {return myModule;}
+  //HYDROGUI_Module* module() const {return myModule;}
 
 private:
   HYDROGUI_Module* myModule;