]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msdos/apptrait.h
Update msw files to use the new definitions
[wxWidgets.git] / include / wx / msdos / apptrait.h
... / ...
CommitLineData
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
12class wxConsoleAppTraits : public wxConsoleAppTraitsBase
13{
14public:
15 virtual wxEventLoopBase *CreateEventLoop() { return NULL; }
16#if wxUSE_TIMER
17 virtual wxTimerImpl *CreateTimerImpl(wxTimer *) { return NULL; }
18#endif // wxUSE_TIMER
19};
20
21#if wxUSE_GUI
22
23class wxGUIAppTraits : public wxGUIAppTraitsBase
24{
25public:
26 virtual wxEventLoopBase *CreateEventLoop();
27 virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const;
28
29#if wxUSE_TIMER
30 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
31#endif // wxUSE_TIMER
32};
33
34#endif // wxUSE_GUI
35
36#endif // _WX_MSDOS_APPTRAIT_H_