git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61335
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
private:
// these functions map directly to XtAdd/RemoveInput() or
// gdk_input_add/remove()
private:
// these functions map directly to XtAdd/RemoveInput() or
// gdk_input_add/remove()
- virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d) = 0;
+ virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d) = 0;
virtual void RemoveInput(int fd) = 0;
};
virtual void RemoveInput(int fd) = 0;
};
gint WXUNUSED(source),
GdkInputCondition condition)
{
gint WXUNUSED(source),
GdkInputCondition condition)
{
- wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
if ( condition & GDK_INPUT_READ )
handler->OnReadWaiting();
if ( condition & GDK_INPUT_READ )
handler->OnReadWaiting();
class GTKSocketManager : public wxSocketInputBasedManager
{
public:
class GTKSocketManager : public wxSocketInputBasedManager
{
public:
- virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d)
+ virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d)
gint WXUNUSED(source),
GdkInputCondition condition)
{
gint WXUNUSED(source),
GdkInputCondition condition)
{
- wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
if ( condition & GDK_INPUT_READ )
handler->OnReadWaiting();
if ( condition & GDK_INPUT_READ )
handler->OnReadWaiting();
class GTKSocketManager : public wxSocketInputBasedManager
{
public:
class GTKSocketManager : public wxSocketInputBasedManager
{
public:
- virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d)
+ virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d)
static void wxSocket_Motif_Input(XtPointer data, int *WXUNUSED(fid),
XtInputId *WXUNUSED(id))
{
static void wxSocket_Motif_Input(XtPointer data, int *WXUNUSED(fid),
XtInputId *WXUNUSED(id))
{
- wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
handler->OnReadWaiting();
}
handler->OnReadWaiting();
}
static void wxSocket_Motif_Output(XtPointer data, int *WXUNUSED(fid),
XtInputId *WXUNUSED(id))
{
static void wxSocket_Motif_Output(XtPointer data, int *WXUNUSED(fid),
XtInputId *WXUNUSED(id))
{
- wxFDIOHandler * const handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl * const handler = static_cast<wxSocketImpl *>(data);
handler->OnWriteWaiting();
}
handler->OnWriteWaiting();
}
class MotifSocketManager : public wxSocketInputBasedManager
{
public:
class MotifSocketManager : public wxSocketInputBasedManager
{
public:
- virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d)
+ virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d)
static void wxSocket_PM_Input(void *data)
{
static void wxSocket_PM_Input(void *data)
{
- wxFDIOHandler *handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl *handler = static_cast<wxSocketImpl *>(data);
handler->OnReadWaiting();
}
static void wxSocket_PM_Output(void *data)
{
handler->OnReadWaiting();
}
static void wxSocket_PM_Output(void *data)
{
- wxFDIOHandler *handler = static_cast<wxFDIOHandler *>(data);
+ wxSocketImpl *handler = static_cast<wxSocketImpl *>(data);
handler->OnWriteWaiting();
}
handler->OnWriteWaiting();
}
class PMSocketManager : public wxSocketInputBasedManager
{
public:
class PMSocketManager : public wxSocketInputBasedManager
{
public:
- virtual int AddInput(wxFDIOHandler *handler, int fd, SocketDir d)
+ virtual int AddInput(wxSocketImpl *handler, int fd, SocketDir d)
{
if (d == FD_OUTPUT)
return wxTheApp->AddSocketHandler(fd, wxSockWriteMask,
{
if (d == FD_OUTPUT)
return wxTheApp->AddSocketHandler(fd, wxSockWriteMask,