00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef filter_console_i_h 00004 #define filter_console_i_h 00005 00006 #include <cstdio> 00007 #include <cstring> 00008 #include <cctype> 00009 #include "keycodes.h" 00010 00011 // 00012 // IMPLEMENTATION of inline functions follows 00013 // 00014 00015 00016 00017 00018 inline int Filter_console::getchar_timeout( unsigned timeout ) 00019 { 00020 int c; 00021 while((c= _o->getchar(false)) == -1 && timeout--) 00022 ; 00023 return c; 00024 } 00025 00026 #endif // filter_console_i_h