]>
Commit | Line | Data |
---|---|---|
1 | /////////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/os2/apptbase.h | |
3 | // Purpose: declaration of wxAppTraits for OS2 | |
4 | // Author: Stefan Neis | |
5 | // Modified by: | |
6 | // Created: 22.09.2003 | |
7 | // Copyright: (c) 2003 Stefan Neis <Stefan.Neis@t-online.de> | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_OS2_APPTBASE_H_ | |
12 | #define _WX_OS2_APPTBASE_H_ | |
13 | ||
14 | // ---------------------------------------------------------------------------- | |
15 | // wxAppTraits: the OS2 version adds extra hooks needed by OS2-only code | |
16 | // ---------------------------------------------------------------------------- | |
17 | ||
18 | class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase | |
19 | { | |
20 | public: | |
21 | // wxThread helpers | |
22 | // ---------------- | |
23 | ||
24 | // Initialize PM facilities to enable GUI access | |
25 | virtual void InitializeGui(unsigned long &ulHab); | |
26 | ||
27 | // Clean up message queue. | |
28 | virtual void TerminateGui(unsigned long ulHab); | |
29 | ||
30 | #if wxUSE_SOCKETS | |
31 | virtual wxFDIOManager *GetFDIOManager(); | |
32 | #endif | |
33 | }; | |
34 | ||
35 | #endif // _WX_OS2_APPTBASE_H_ |