Salome HOME
Has functionality from SalomeApp without dependency from CORBA
[modules/gui.git] / src / LightApp / LightApp_DataOwner.h
1
2 #ifndef LIGHTAPP_DATAOWNER_H
3 #define LIGHTAPP_DATAOWNER_H
4
5 #include "LightApp.h"
6 #include "SUIT_DataOwner.h"
7 #include "SALOME_InteractiveObject.hxx"
8
9 /*!
10   This class provide data owner objects.
11 */
12 class LIGHTAPP_EXPORT LightApp_DataOwner : public SUIT_DataOwner
13 {
14 public:
15     LightApp_DataOwner( const Handle(SALOME_InteractiveObject)& theIO );
16     LightApp_DataOwner( const QString& );
17     virtual ~LightApp_DataOwner();
18
19     virtual bool isEqual( const SUIT_DataOwner& ) const;
20     const Handle(SALOME_InteractiveObject)& IO() const;
21     QString entry() const;
22
23 private:
24     QString  myEntry;
25     Handle(SALOME_InteractiveObject) myIO;
26 };
27
28 typedef SMART(LightApp_DataOwner) LightApp_DataOwnerPtr;
29
30 #endif