Add GUI Support
This commit is contained in:
15
include/TessesFramework/TextStreams/StdIOWriter.hpp
Normal file
15
include/TessesFramework/TextStreams/StdIOWriter.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include "TextWriter.hpp"
|
||||
|
||||
|
||||
namespace Tesses::Framework::TextStreams
|
||||
{
|
||||
class ConsoleWriter : public TextWriter {
|
||||
bool isError;
|
||||
public:
|
||||
ConsoleWriter(bool isError=false);
|
||||
void WriteData(const char* text, size_t len);
|
||||
};
|
||||
|
||||
ConsoleWriter StdOut();
|
||||
ConsoleWriter StdErr();
|
||||
}
|
||||
Reference in New Issue
Block a user