]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/evtloopsrc.h
9f2a1f7b0cf1a405f22f3d7a6c7e3e398c145db1
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/evtloopsrc.h
3 // Purpose: wxGTKEventLoopSource class
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_EVTLOOPSRC_H_
12 #define _WX_GTK_EVTLOOPSRC_H_
14 // ----------------------------------------------------------------------------
15 // wxGTKEventLoopSource: wxEventLoopSource for GTK port
16 // ----------------------------------------------------------------------------
18 class wxGTKEventLoopSource
: public wxEventLoopSource
21 // sourceId is the id of the watch in GTK context, not the FD of the file
22 // this source corresponds to
23 wxGTKEventLoopSource(unsigned sourceId
,
24 wxEventLoopSourceHandler
*handler
,
26 : wxEventLoopSource(handler
, flags
),
31 virtual ~wxGTKEventLoopSource();
34 const unsigned m_sourceId
;
36 wxDECLARE_NO_COPY_CLASS(wxGTKEventLoopSource
);
39 #endif // _WX_GTK_EVTLOOPSRC_H_