fdiounix.h 1020 B

123456789101112131415161718192021222324252627
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/unix/private/fdiounix.h
  3. // Purpose: wxFDIOManagerUnix class used by console Unix applications
  4. // Author: Vadim Zeitlin
  5. // Created: 2009-08-17
  6. // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
  7. // Licence: wxWindows licence
  8. ///////////////////////////////////////////////////////////////////////////////
  9. #ifndef _UNIX_PRIVATE_FDIOUNIX_H_
  10. #define _UNIX_PRIVATE_FDIOUNIX_H_
  11. #include "wx/private/fdiomanager.h"
  12. // ----------------------------------------------------------------------------
  13. // wxFDIOManagerUnix: implement wxFDIOManager interface using wxFDIODispatcher
  14. // ----------------------------------------------------------------------------
  15. class wxFDIOManagerUnix : public wxFDIOManager
  16. {
  17. public:
  18. virtual int AddInput(wxFDIOHandler *handler, int fd, Direction d);
  19. virtual void RemoveInput(wxFDIOHandler *handler, int fd, Direction d);
  20. };
  21. #endif // _UNIX_PRIVATE_FDIOUNIX_H_