eventloopsourcesmanager.h 838 B

12345678910111213141516171819202122232425
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/private/eventloopsourcesmanager.h
  3. // Purpose: declares wxEventLoopSourcesManagerBase class
  4. // Author: Rob Bresalier
  5. // Created: 2013-06-19
  6. // Copyright: (c) 2013 Rob Bresalier
  7. // Licence: wxWindows licence
  8. ///////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
  10. #define _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
  11. // For pulling in the value of wxUSE_EVENTLOOP_SOURCE
  12. #include "wx/evtloop.h"
  13. class WXDLLIMPEXP_BASE wxEventLoopSourcesManagerBase
  14. {
  15. public:
  16. #if wxUSE_EVENTLOOP_SOURCE
  17. virtual wxEventLoopSource*
  18. AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags) = 0;
  19. #endif
  20. };
  21. #endif // _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_