]>
Commit | Line | Data |
---|---|---|
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$ | |
8 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org> | |
9 | // Licence: wxWindows licence | |
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 | ||
19 | class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase | |
20 | { | |
21 | public: | |
22 | virtual void *BeforeChildWaitLoop(); | |
23 | virtual void AlwaysYield(); | |
24 | virtual void AfterChildWaitLoop(void *data); | |
25 | ||
26 | virtual bool DoMessageFromThreadWait(); | |
27 | }; | |
28 | ||
29 | #if wxUSE_GUI | |
30 | ||
31 | class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase | |
32 | { | |
33 | public: | |
34 | virtual void *BeforeChildWaitLoop(); | |
35 | virtual void AlwaysYield(); | |
36 | virtual void AfterChildWaitLoop(void *data); | |
37 | ||
38 | virtual bool DoMessageFromThreadWait(); | |
39 | }; | |
40 | ||
41 | #endif // wxUSE_GUI | |
42 | ||
43 | #endif // _WX_MSW_APPTRAIT_H_ | |
44 |