]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/evtloop.h
Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / include / wx / osx / evtloop.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/evtloop.h
3 // Purpose: simply forwards to wx/osx/carbon/evtloop.h or
4 // wx/osx/cocoa/evtloop.h for consistency with the other Mac
5 // headers
6 // Author: Vadim Zeitlin
7 // Modified by:
8 // Created: 2006-01-12
9 // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_OSX_EVTLOOP_H_
14 #define _WX_OSX_EVTLOOP_H_
15
16 #ifdef __WXOSX_COCOA__
17 #include "wx/osx/cocoa/evtloop.h"
18 #else
19 #include "wx/osx/carbon/evtloop.h"
20 #endif
21
22 class WXDLLIMPEXP_FWD_CORE wxWindow;
23 class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow;
24
25 class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop
26 {
27 public:
28 wxModalEventLoop(wxWindow *modalWindow);
29 wxModalEventLoop(WXWindow modalNativeWindow);
30
31 protected:
32 virtual void OSXDoRun();
33 virtual void OSXDoStop();
34
35 // (in case) the modal window for this event loop
36 wxNonOwnedWindow* m_modalWindow;
37 WXWindow m_modalNativeWindow;
38 };
39
40 #endif // _WX_OSX_EVTLOOP_H_