00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef push_console_h 00004 #define push_console_h 00005 00006 #include "console.h" 00007 #include "l4_types.h" 00008 00009 // 00010 // INTERFACE definition follows 00011 // 00012 00013 00014 class Space; 00015 00016 class Push_console : public Console 00017 { 00018 private: 00019 static const Unsigned8 *sequence_str; 00020 static Mword sequence_len; 00021 static Space *sequence_space; 00022 00023 public: 00024 int getchar(bool /*blocking*/); 00025 00026 int char_avail() const; 00027 00028 int write(char const * /*str*/, size_t len); 00029 00030 static void push(Unsigned8 const *str, size_t len, Space *space = 0); 00031 00032 static void flush(void); 00033 00034 Mword get_attributes() const; 00035 00036 private: 00037 static int get_sequence_byte(Unsigned8 const *s); 00038 00039 static int get_sequence_len(); 00040 }; 00041 00042 #endif // push_console_h