]>
Commit | Line | Data |
---|---|---|
b3c86150 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/dfb/app.h | |
3 | // Purpose: wxApp class | |
4 | // Author: Vaclav Slavik | |
5 | // Created: 2006-08-10 | |
6 | // RCS-ID: $Id$ | |
7 | // Copyright: (c) 2006 REA Elektronik GmbH | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_DFB_APP_H_ | |
12 | #define _WX_DFB_APP_H_ | |
13 | ||
52c8d32a | 14 | #include "wx/dfb/dfbptr.h" |
b3c86150 | 15 | |
fdc62f44 VS |
16 | #include "wx/vidmode.h" |
17 | ||
b3c86150 VS |
18 | wxDFB_DECLARE_INTERFACE(IDirectFB); |
19 | ||
20 | //----------------------------------------------------------------------------- | |
21 | // wxApp | |
22 | //----------------------------------------------------------------------------- | |
23 | ||
24 | class WXDLLIMPEXP_CORE wxApp: public wxAppBase | |
25 | { | |
26 | public: | |
27 | wxApp(); | |
28 | ~wxApp(); | |
29 | ||
30 | // override base class (pure) virtuals | |
31 | virtual bool Initialize(int& argc, wxChar **argv); | |
32 | virtual void CleanUp(); | |
33 | ||
34 | virtual void WakeUpIdle(); | |
b3c86150 VS |
35 | |
36 | virtual wxVideoMode GetDisplayMode() const; | |
37 | virtual bool SetDisplayMode(const wxVideoMode& mode); | |
38 | ||
b3c86150 | 39 | private: |
b3c86150 VS |
40 | wxVideoMode m_videoMode; |
41 | ||
d48b06bd FM |
42 | virtual bool DoYield(bool onlyIfNeeded, long eventsToProcess); |
43 | ||
b3c86150 | 44 | DECLARE_DYNAMIC_CLASS(wxApp) |
b3c86150 VS |
45 | }; |
46 | ||
47 | #endif // _WX_DFB_APP_H_ |