1 // Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef LIGHTAPP_DATAOWNER_H
21 #define LIGHTAPP_DATAOWNER_H
24 #include "SUIT_DataOwner.h"
26 #ifndef DISABLE_SALOMEOBJECT
27 #include "SALOME_InteractiveObject.hxx"
32 This class provide data owner objects.
34 class LIGHTAPP_EXPORT LightApp_DataOwner : public SUIT_DataOwner
37 #ifndef DISABLE_SALOMEOBJECT
38 LightApp_DataOwner( const Handle(SALOME_InteractiveObject)& theIO );
40 LightApp_DataOwner( const QString& );
41 virtual ~LightApp_DataOwner();
43 // *** jfa: The below line has been put here 14.02.2007.
44 // *** It cancels modifications from branch BR_Dev_For_4_0
45 virtual QString keyString() const;
47 #ifndef DISABLE_SALOMEOBJECT
48 const Handle(SALOME_InteractiveObject)& IO() const;
50 QString entry() const;
54 #ifndef DISABLE_SALOMEOBJECT
55 Handle(SALOME_InteractiveObject) myIO;
59 typedef SMART(LightApp_DataOwner) LightApp_DataOwnerPtr;