fixed refcount of eListboxPythonStringContent
[enigma2.git] / lib / gui / ewindow.h
1 #ifndef __lib_gui_ewindow_h
2 #define __lib_gui_ewindow_h
3
4 #include <lib/gui/ewidget.h>
5 #include <lib/gui/ewindowstyle.h>
6
7 class eWidgetDesktop;
8
9 class eWindow: public eWidget
10 {
11         friend class eWindowStyle;
12 public:
13         eWindow(eWidgetDesktop *desktop);
14         ~eWindow();
15         void setTitle(const std::string &string);
16         eWidget *child() { return m_child; }
17 protected:
18         enum eWindowEvents
19         {
20                 evtTitleChanged = evtUserWidget,
21         };
22         int event(int event, void *data=0, void *data2=0);
23 private:
24         std::string m_title;
25         eWidget *m_child;
26 };
27
28 #endif