]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/evtloopsrc.h
f80523424d75b9fbc9ae754bce7d6a6f88512877
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/evtloopsrc.h
3 // Purpose: wxGTKEventLoopSource class
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_EVTLOOPSRC_H_
11 #define _WX_GTK_EVTLOOPSRC_H_
13 // ----------------------------------------------------------------------------
14 // wxGTKEventLoopSource: wxEventLoopSource for GTK port
15 // ----------------------------------------------------------------------------
17 class wxGTKEventLoopSource
: public wxEventLoopSource
20 // sourceId is the id of the watch in GTK context, not the FD of the file
21 // this source corresponds to
22 wxGTKEventLoopSource(unsigned sourceId
,
23 wxEventLoopSourceHandler
*handler
,
25 : wxEventLoopSource(handler
, flags
),
30 virtual ~wxGTKEventLoopSource();
33 const unsigned m_sourceId
;
35 wxDECLARE_NO_COPY_CLASS(wxGTKEventLoopSource
);
38 #endif // _WX_GTK_EVTLOOPSRC_H_