2003-09-21 20:02:44 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/os2/apptbase.h
|
2003-09-21 20:39:22 -04:00
|
|
|
// Purpose: declaration of wxAppTraits for OS2
|
2003-09-21 20:02:44 -04:00
|
|
|
// Author: Stefan Neis
|
|
|
|
// Modified by:
|
|
|
|
// Created: 22.09.2003
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2003 Stefan Neis <Stefan.Neis@t-online.de>
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2003-09-21 20:02:44 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_OS2_APPTBASE_H_
|
|
|
|
#define _WX_OS2_APPTBASE_H_
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxAppTraits: the OS2 version adds extra hooks needed by OS2-only code
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// wxThread helpers
|
|
|
|
// ----------------
|
|
|
|
|
|
|
|
// Initialize PM facilities to enable GUI access
|
|
|
|
virtual void InitializeGui(unsigned long &ulHab);
|
|
|
|
|
|
|
|
// Clean up message queue.
|
|
|
|
virtual void TerminateGui(unsigned long ulHab);
|
2008-01-06 17:47:01 -05:00
|
|
|
#if wxUSE_SOCKETS
|
|
|
|
// returns the select()-based socket manager for console applications which
|
|
|
|
// is also used by some ports (wxX11, wxDFB) in the GUI build (hence it is
|
|
|
|
// here and not in wxConsoleAppTraits)
|
2008-11-28 07:47:07 -05:00
|
|
|
virtual wxSocketManager *GetSocketManager();
|
2008-01-06 17:47:01 -05:00
|
|
|
#endif
|
2003-09-21 20:02:44 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_OS2_APPTBASE_H_
|