]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/dfb/app.h
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/dfbptr.h"
16 #include "wx/vidmode.h"
18 wxDFB_DECLARE_INTERFACE(IDirectFB
);
20 //-----------------------------------------------------------------------------
22 //-----------------------------------------------------------------------------
24 class WXDLLIMPEXP_CORE wxApp
: public wxAppBase
30 // override base class (pure) virtuals
31 virtual bool Initialize(int& argc
, wxChar
**argv
);
32 virtual void CleanUp();
34 virtual void WakeUpIdle();
35 virtual bool Yield(bool onlyIfNeeded
= false);
37 virtual wxVideoMode
GetDisplayMode() const;
38 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
41 wxVideoMode m_videoMode
;
43 DECLARE_DYNAMIC_CLASS(wxApp
)
46 #endif // _WX_DFB_APP_H_