mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
If possible all errors are sent to stderr
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1055 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -36,9 +36,15 @@ class TextIOHandler {
|
||||
/// Flush output
|
||||
void flush();
|
||||
|
||||
/// Show an error message
|
||||
void showError(const String& message);
|
||||
/// Show a warning message
|
||||
void showWarning(const String& message);
|
||||
|
||||
private:
|
||||
bool have_console;
|
||||
bool escapes;
|
||||
FILE* stream;
|
||||
String buffer; ///< Buffer when not writing to console
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user