]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/dfb/app.h
f1e8041ab60c7ca1c083479038bde5ca6a232133
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxApp class
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2006 REA Elektronik GmbH
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DFB_APP_H_
12 #define _WX_DFB_APP_H_
14 #include "wx/dfb/ifacehelpers.h"
16 wxDFB_DECLARE_INTERFACE(IDirectFB
);
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxApp
: public wxAppBase
28 // override base class (pure) virtuals
29 virtual bool Initialize(int& argc
, wxChar
**argv
);
30 virtual void CleanUp();
32 virtual void WakeUpIdle();
33 virtual bool Yield(bool onlyIfNeeded
= false);
35 virtual wxVideoMode
GetDisplayMode() const;
36 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
38 // implementation - get singleton DirectFB interface
39 IDirectFBPtr
GetDirectFBInterface();
43 wxVideoMode m_videoMode
;
45 DECLARE_DYNAMIC_CLASS(wxApp
)
49 #endif // _WX_DFB_APP_H_