1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/apptrait.h
3 // Purpose: class implementing wxAppTraits for OS/2
8 // Copyright: (c) 2003 Stefan Neis <Stefan.Neis@t-online.de>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_OS2_APPTRAIT_H_
13 #define _WX_OS2_APPTRAIT_H_
15 // ----------------------------------------------------------------------------
16 // wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17 // ----------------------------------------------------------------------------
19 class WXDLLIMPEXP_BASE wxConsoleAppTraits
: public wxConsoleAppTraitsBase
23 virtual wxTimerImpl
*CreateTimerImpl(wxTimer
*timer
) { return NULL
; };
29 class WXDLLIMPEXP_CORE wxGUIAppTraits
: public wxGUIAppTraitsBase
33 virtual wxTimerImpl
*CreateTimerImpl(wxTimer
*timer
);
35 virtual wxPortId
GetToolkitVersion(int *majVer
, int *minVer
) const;
40 // Initialize PM facilities to enable GUI access
41 virtual void InitializeGui(unsigned long &ulHab
);
43 // Clean up message queue.
44 virtual void TerminateGui(unsigned long ulHab
);
46 virtual wxString
GetDesktopEnvironment() const;
52 #endif // _WX_OS2_APPTRAIT_H_