/src/wxwidgets/include/wx/private/eventloopsourcesmanager.h
Line | Count | Source (jump to first uncovered line) |
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 | | |
10 | | #ifndef _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_ |
11 | | #define _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_ |
12 | | |
13 | | // For pulling in the value of wxUSE_EVENTLOOP_SOURCE |
14 | | #include "wx/evtloop.h" |
15 | | |
16 | | #if wxUSE_EVENTLOOP_SOURCE |
17 | | |
18 | | class WXDLLIMPEXP_BASE wxEventLoopSourcesManagerBase |
19 | | { |
20 | | public: |
21 | | virtual wxEventLoopSource* |
22 | | AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags) = 0; |
23 | | |
24 | 0 | virtual ~wxEventLoopSourcesManagerBase() = default; |
25 | | }; |
26 | | |
27 | | #endif // wxUSE_EVENTLOOP_SOURCE |
28 | | |
29 | | #endif // _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_ |