5 #include <Poco/SharedPtr.h>
7 #include "io/Console.h"
8 #include "io/Printable.h"
32 std::string
readBytes(
const unsigned int length);
38 void print(
const std::string &text,
bool newline =
true)
override;
51 void setConsole(Poco::SharedPtr<Console> console);
57 Poco::SharedPtr<Console> m_console;
58 Poco::SharedPtr<ConsoleSession> m_session;
Definition: Printable.h:8
std::string readBytes(const unsigned int length)
Definition: SimpleConsole.cpp:25
std::string readLine()
Definition: SimpleConsole.cpp:20
void close()
Definition: SimpleConsole.cpp:40
Definition: SimpleConsole.h:17
bool eof()
Definition: SimpleConsole.cpp:35
void print(const std::string &text, bool newline=true) override
Definition: SimpleConsole.cpp:30