Salome HOME
refs #1501 p.2
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImagePrs.h
index 3ad570f9679312bcbeb21f76694e89d22e70db47..63968cafa5088cee6c0b6d63125625a41cb5698c 100644 (file)
@@ -1,3 +1,21 @@
+// 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
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef HYDROGUI_IMAGEPRS_H
 #define HYDROGUI_IMAGEPRS_H
 
@@ -10,8 +28,6 @@
 class Font_FTFont;
 class HYDROGUI_ImagePrs;
 
-DEFINE_STANDARD_HANDLE(HYDROGUI_ImagePrs, AIS_InteractiveObject)
-
 class HYDROGUI_ImagePrs : public AIS_InteractiveObject
 {
 public:
@@ -29,7 +45,7 @@ public:
                                     const Handle(Prs3d_Presentation)&, const Standard_Integer = 0 );
     virtual void           ComputeSelection( const Handle(SelectMgr_Selection)&, const Standard_Integer );
 
-    DEFINE_STANDARD_RTTI(HYDROGUI_ImagePrs)
+    DEFINE_STANDARD_RTTIEXT(HYDROGUI_ImagePrs, AIS_InteractiveObject)
 
 private:
     gp_Pnt                 convert( const QPointF& ) const;