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