]>
Commit | Line | Data |
---|---|---|
9fc852b7 SN |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/os2/apptbase.h | |
a637417c | 3 | // Purpose: declaration of wxAppTraits for OS2 |
9fc852b7 SN |
4 | // Author: Stefan Neis |
5 | // Modified by: | |
6 | // Created: 22.09.2003 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 Stefan Neis <Stefan.Neis@t-online.de> | |
65571936 | 9 | // Licence: wxWindows licence |
9fc852b7 SN |
10 | /////////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_OS2_APPTBASE_H_ | |
13 | #define _WX_OS2_APPTBASE_H_ | |
14 | ||
15 | // ---------------------------------------------------------------------------- | |
16 | // wxAppTraits: the OS2 version adds extra hooks needed by OS2-only code | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase | |
20 | { | |
21 | public: | |
22 | // wxThread helpers | |
23 | // ---------------- | |
24 | ||
25 | // Initialize PM facilities to enable GUI access | |
26 | virtual void InitializeGui(unsigned long &ulHab); | |
27 | ||
28 | // Clean up message queue. | |
29 | virtual void TerminateGui(unsigned long ulHab); | |
f90913e2 SN |
30 | #if wxUSE_SOCKETS |
31 | // returns the select()-based socket manager for console applications which | |
32 | // is also used by some ports (wxX11, wxDFB) in the GUI build (hence it is | |
33 | // here and not in wxConsoleAppTraits) | |
51fe4b60 | 34 | virtual wxSocketManager *GetSocketManager(); |
f90913e2 | 35 | #endif |
9fc852b7 SN |
36 | }; |
37 | ||
38 | #endif // _WX_OS2_APPTBASE_H_ |