23 #include "pedigree/kernel/processor/types.h" 24 #include "pedigree/kernel/utilities/StaticString.h" 29 #define COMMAND_MAX 256 84 virtual void initialise() = 0;
85 virtual void destroy() = 0;
93 virtual void setCliLowerLimit(
size_t nlines) = 0;
95 virtual void cls() = 0;
97 virtual char getCharNonBlock() = 0;
104 virtual void disableCli() = 0;
128 char c,
size_t row,
size_t colStart,
size_t colEnd,
Colour foreColour,
130 virtual void drawVerticalLine(
131 char c,
size_t col,
size_t rowStart,
size_t rowEnd,
Colour foreColour,
139 const char *str,
size_t row,
size_t col,
Colour foreColour,
146 virtual size_t getHeight() = 0;
153 virtual void disableRefreshes() = 0;
154 virtual void forceRefresh() = 0;
156 virtual void readDimensions() = 0;
165 virtual void putChar(
172 virtual void scroll() = 0;
virtual size_t getWidth()=0
virtual void enableCli()=0
virtual void writeCli(const char *str, Colour foreColour, Colour backColour)
virtual bool readCli(HugeStaticString &str, DebuggerCommand *pAutoComplete)
char m_pCommand[COMMAND_MAX]
virtual void enableRefreshes()=0
virtual void moveCursor()=0
virtual void setCliUpperLimit(size_t nlines)=0
virtual void drawString(const char *str, size_t row, size_t col, Colour foreColour, Colour backColour)=0
virtual void drawHorizontalLine(char c, size_t row, size_t colStart, size_t colEnd, Colour foreColour, Colour backColour)=0