]> SALOME platform Git repositories - modules/gui.git/blob - src/SalomeApp/SalomeApp_DataOwner.h
Salome HOME
New Help for KERNEL & GUI.
[modules/gui.git] / src / SalomeApp / SalomeApp_DataOwner.h
1
2 #ifndef SALOMEAPP_DATAOWNER_H
3 #define SALOMEAPP_DATAOWNER_H
4
5 #include <SalomeApp.h>
6 #include "SUIT_DataOwner.h"
7 #include "SALOME_InteractiveObject.hxx"
8
9 /*!
10   This class provide data owner objects.
11 */
12 class SALOMEAPP_EXPORT SalomeApp_DataOwner : public SUIT_DataOwner
13 {
14 public:
15     SalomeApp_DataOwner( const Handle(SALOME_InteractiveObject)& theIO );
16     SalomeApp_DataOwner( const QString& );
17     virtual ~SalomeApp_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(SalomeApp_DataOwner) SalomeApp_DataOwnerPtr;
29
30 #endif