]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/private/fdiomanager.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/fdiomanager.h
3 // Purpose: declaration of wxFDIOManager
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_PRIVATE_FDIOMANAGER_H_
12 #define _WX_PRIVATE_FDIOMANAGER_H_
14 #include "wx/private/fdiohandler.h"
16 // ----------------------------------------------------------------------------
17 // wxFDIOManager: register or unregister wxFDIOHandlers
18 // ----------------------------------------------------------------------------
20 // currently only used in wxGTK and wxMotif, see wx/unix/apptrait.h
25 // identifies either input or output direction
27 // NB: the values of this enum shouldn't change
34 // start or stop monitoring the events on the given file descriptor
35 virtual int AddInput(wxFDIOHandler
*handler
, int fd
, Direction d
) = 0;
36 virtual void RemoveInput(wxFDIOHandler
*handler
, int fd
, Direction d
) = 0;
38 // empty but virtual dtor for the base class
39 virtual ~wxFDIOManager() { }
42 #endif // _WX_PRIVATE_FDIOMANAGER_H_