]>
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();
36 virtual wxVideoMode
GetDisplayMode() const;
37 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
40 wxVideoMode m_videoMode
;
42 virtual bool DoYield(bool onlyIfNeeded
, long eventsToProcess
);
44 DECLARE_DYNAMIC_CLASS(wxApp
)
47 #endif // _WX_DFB_APP_H_