]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dfb/app.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / dfb / app.h
CommitLineData
b3c86150
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dfb/app.h
3// Purpose: wxApp class
4// Author: Vaclav Slavik
5// Created: 2006-08-10
b3c86150
VS
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
52c8d32a 13#include "wx/dfb/dfbptr.h"
b3c86150 14
fdc62f44
VS
15#include "wx/vidmode.h"
16
b3c86150
VS
17wxDFB_DECLARE_INTERFACE(IDirectFB);
18
19//-----------------------------------------------------------------------------
20// wxApp
21//-----------------------------------------------------------------------------
22
23class WXDLLIMPEXP_CORE wxApp: public wxAppBase
24{
25public:
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();
b3c86150
VS
34
35 virtual wxVideoMode GetDisplayMode() const;
36 virtual bool SetDisplayMode(const wxVideoMode& mode);
37
b3c86150 38private:
b3c86150
VS
39 wxVideoMode m_videoMode;
40
41 DECLARE_DYNAMIC_CLASS(wxApp)
b3c86150
VS
42};
43
44#endif // _WX_DFB_APP_H_