30 #ifndef AMATH_AMIGA_CONSOLE_WINDOW_H 31 #define AMATH_AMIGA_CONSOLE_WINDOW_H 43 #include "lib/aengine.h" 47 #include <libraries/dos.h> 48 #include <devices/console.h> 49 #include <graphics/gfxbase.h> 50 #include <intuition/intuition.h> 51 #include <intuition/intuitionbase.h> 52 #include <intuition/intuition.h> 53 #include <clib/exec_protos.h> 54 #include <clib/alib_protos.h> 55 #include <clib/dos_protos.h> 56 #include <clib/intuition_protos.h> 83 class AmigaWindow :
public ConsoleBase {
85 AmigaWindow(
const char *prompt, CharValidator *validator);
89 void SetPrompt(
const char *string);
90 void WriteString(
const char *string);
95 void WriteChar(
const char character);
96 void WriteString(
const char *string,
unsigned int length);
97 unsigned char TryGetChar(MsgPort *msgport);
98 unsigned char ReadChar(STRequest request);
110 unsigned char inputbuf;
111 unsigned long windowsig;
112 AnsiConoleEngine *proc;