]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dfb/app.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / dfb / app.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dfb/app.h
3 // Purpose: wxApp class
4 // Author: Vaclav Slavik
5 // Created: 2006-08-10
6 // Copyright: (c) 2006 REA Elektronik GmbH
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_DFB_APP_H_
11 #define _WX_DFB_APP_H_
12
13 #include "wx/dfb/dfbptr.h"
14
15 #include "wx/vidmode.h"
16
17 wxDFB_DECLARE_INTERFACE(IDirectFB);
18
19 //-----------------------------------------------------------------------------
20 // wxApp
21 //-----------------------------------------------------------------------------
22
23 class WXDLLIMPEXP_CORE wxApp: public wxAppBase
24 {
25 public:
26 wxApp();
27 ~wxApp();
28
29 // override base class (pure) virtuals
30 virtual bool Initialize(int& argc, wxChar **argv);
31 virtual void CleanUp();
32
33 virtual void WakeUpIdle();
34
35 virtual wxVideoMode GetDisplayMode() const;
36 virtual bool SetDisplayMode(const wxVideoMode& mode);
37
38 private:
39 wxVideoMode m_videoMode;
40
41 DECLARE_DYNAMIC_CLASS(wxApp)
42 };
43
44 #endif // _WX_DFB_APP_H_