]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/private/fdiounix.h
Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by break...
[wxWidgets.git] / include / wx / unix / private / fdiounix.h
CommitLineData
6bcc1145
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/unix/private/fdiounix.h
3// Purpose: wxFDIOManagerUnix class used by console Unix applications
4// Author: Vadim Zeitlin
5// Created: 2009-08-17
6// RCS-ID: $Id: wxhead.h,v 1.11 2009-06-29 10:23:04 zeitlin Exp $
7// Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _UNIX_PRIVATE_FDIOUNIX_H_
12#define _UNIX_PRIVATE_FDIOUNIX_H_
13
14#include "wx/private/fdiomanager.h"
15
16// ----------------------------------------------------------------------------
17// wxFDIOManagerUnix: implement wxFDIOManager interface using wxFDIODispatcher
18// ----------------------------------------------------------------------------
19
20class wxFDIOManagerUnix : public wxFDIOManager
21{
22public:
23 virtual int AddInput(wxFDIOHandler *handler, int fd, Direction d);
24 virtual void RemoveInput(wxFDIOHandler *handler, int fd, Direction d);
25};
26
27#endif // _UNIX_PRIVATE_FDIOUNIX_H_
28