diff options
Diffstat (limited to 'vio/VioAcceptorFd.h')
-rw-r--r-- | vio/VioAcceptorFd.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vio/VioAcceptorFd.h b/vio/VioAcceptorFd.h new file mode 100644 index 00000000000..e0441780db9 --- /dev/null +++ b/vio/VioAcceptorFd.h @@ -0,0 +1,23 @@ +/* +** Virtual I/O library +** Written by Andrei Errapart <andreie@no.spam.ee> +*/ + +/* + * Abstract acceptor. + */ + +#ifdef __GNUC__ +#pragma interface /* gcc class implementation */ +#endif + +VIO_NS_BEGIN + +class VioAcceptorFd +{ +public: + virtual ~VioAcceptorFd(); + virtual Vio* accept( int fd) = 0; +}; + +VIO_NS_END |