]>
Commit | Line | Data |
---|---|---|
9aecec9a MW |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/msdos/apptrait.h | |
3 | // Author: Michael Wetherell | |
4 | // RCS-ID: $Id$ | |
5 | // Copyright: (c) 2006 Michael Wetherell | |
6 | // Licence: wxWindows licence | |
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | #ifndef _WX_MSDOS_APPTRAIT_H_ | |
10 | #define _WX_MSDOS_APPTRAIT_H_ | |
11 | ||
12 | class wxConsoleAppTraits : public wxConsoleAppTraitsBase | |
13 | { | |
14 | public: | |
2ddff00c | 15 | virtual wxEventLoopBase *CreateEventLoop() { return NULL; } |
b46b1d59 VZ |
16 | #if wxUSE_TIMER |
17 | virtual wxTimerImpl *CreateTimerImpl(wxTimer *) { return NULL; } | |
18 | #endif // wxUSE_TIMER | |
9aecec9a MW |
19 | }; |
20 | ||
21 | #if wxUSE_GUI | |
22 | ||
23 | class wxGUIAppTraits : public wxGUIAppTraitsBase | |
24 | { | |
25 | public: | |
2ddff00c | 26 | virtual wxEventLoopBase *CreateEventLoop(); |
1f5c6629 | 27 | virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const; |
b46b1d59 VZ |
28 | |
29 | #if wxUSE_TIMER | |
30 | virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); | |
31 | #endif // wxUSE_TIMER | |
9aecec9a MW |
32 | }; |
33 | ||
34 | #endif // wxUSE_GUI | |
35 | ||
36 | #endif // _WX_MSDOS_APPTRAIT_H_ |