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