]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dfb/app.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / dfb / app.h
... / ...
CommitLineData
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
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();
34
35 virtual wxVideoMode GetDisplayMode() const;
36 virtual bool SetDisplayMode(const wxVideoMode& mode);
37
38private:
39 wxVideoMode m_videoMode;
40
41 DECLARE_DYNAMIC_CLASS(wxApp)
42};
43
44#endif // _WX_DFB_APP_H_