]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/apptrait.h
added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG
[wxWidgets.git] / include / wx / msw / apptrait.h
CommitLineData
e2478fde
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/apptrait.h
3// Purpose: class implementing wxAppTraits for MSW
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 21.06.2003
7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
65571936 9// Licence: wxWindows licence
e2478fde
VZ
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSW_APPTRAIT_H_
13#define _WX_MSW_APPTRAIT_H_
14
15// ----------------------------------------------------------------------------
16// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17// ----------------------------------------------------------------------------
18
bb24c68f 19class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
e2478fde
VZ
20{
21public:
2ddff00c 22 virtual wxEventLoopBase *CreateEventLoop();
e2478fde
VZ
23 virtual void *BeforeChildWaitLoop();
24 virtual void AlwaysYield();
25 virtual void AfterChildWaitLoop(void *data);
c2ca375c
VZ
26#if wxUSE_TIMER
27 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
28#endif
e2478fde 29 virtual bool DoMessageFromThreadWait();
e570a44b 30 virtual WXDWORD WaitForThread(WXHANDLE hThread);
e2478fde
VZ
31};
32
33#if wxUSE_GUI
34
bb24c68f 35class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
e2478fde
VZ
36{
37public:
2ddff00c 38 virtual wxEventLoopBase *CreateEventLoop();
e2478fde
VZ
39 virtual void *BeforeChildWaitLoop();
40 virtual void AlwaysYield();
41 virtual void AfterChildWaitLoop(void *data);
c2ca375c
VZ
42#if wxUSE_TIMER
43 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
44#endif
e2478fde 45 virtual bool DoMessageFromThreadWait();
8bb6b2c0 46 virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
e570a44b 47 virtual WXDWORD WaitForThread(WXHANDLE hThread);
e2478fde
VZ
48};
49
50#endif // wxUSE_GUI
51
52#endif // _WX_MSW_APPTRAIT_H_
53