apptbase.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef _WX_OS2_APPTBASE_H_
  11. #define _WX_OS2_APPTBASE_H_
  12. // ----------------------------------------------------------------------------
  13. // wxAppTraits: the OS2 version adds extra hooks needed by OS2-only code
  14. // ----------------------------------------------------------------------------
  15. class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase
  16. {
  17. public:
  18. // wxThread helpers
  19. // ----------------
  20. // Initialize PM facilities to enable GUI access
  21. virtual void InitializeGui(unsigned long &ulHab);
  22. // Clean up message queue.
  23. virtual void TerminateGui(unsigned long ulHab);
  24. #if wxUSE_SOCKETS
  25. virtual wxFDIOManager *GetFDIOManager();
  26. #endif
  27. };
  28. #endif // _WX_OS2_APPTBASE_H_