From f8dbc120c055fb61fa79f901cc2974d049d04f4f Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Tue, 16 Jul 2013 11:14:34 -0700 Subject: Split the Socket class into Selectable, in order to let it work with other non-socket file descriptors. --- includes/Printer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/Printer.h') diff --git a/includes/Printer.h b/includes/Printer.h index cc9be2c..8494e49 100644 --- a/includes/Printer.h +++ b/includes/Printer.h @@ -27,6 +27,7 @@ enum { #undef E_INPUT #undef E_SOCKET #undef E_THREAD +#undef E_SELECT enum { E_STRING = 1, @@ -39,6 +40,7 @@ enum { E_OUTPUT = 128, E_HTTPSERVER = 256, E_ASYNC = 512, + E_SELECT = 1024, }; class Printer { -- cgit v1.2.3