diff options
Diffstat (limited to 'gui/console.h')
-rw-r--r-- | gui/console.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gui/console.h b/gui/console.h index 1d06284dd8..3b2f920672 100644 --- a/gui/console.h +++ b/gui/console.h @@ -25,6 +25,7 @@ #include "common/str.h" #include "common/list.h" +#include <stdarg.h> enum { kBufferSize = 32768, @@ -55,12 +56,13 @@ public: virtual void handleKeyDown(uint16 ascii, int keycode, int modifiers); // void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); - //printf(const char *format, ...) - //vprintf( -// void printString(const String &str); -// const String &readString(); + int printf(const char *format, ...); + int vprintf(const char *format, va_list argptr); +#undef putchar + void putchar(int c); protected: + void print(const char *str); void nextLine(); }; |