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