summaryrefslogtreecommitdiff
path: root/source/core/slang-io.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-io.h')
-rw-r--r--source/core/slang-io.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/core/slang-io.h b/source/core/slang-io.h
index fb9583c67..869fad873 100644
--- a/source/core/slang-io.h
+++ b/source/core/slang-io.h
@@ -35,26 +35,6 @@ namespace Slang
static String Combine(const String & path1, const String & path2, const String & path3);
static bool CreateDir(const String & path);
};
-
- class CommandLineWriter : public Object
- {
- public:
- virtual void Write(const String & text) = 0;
- };
-
- void SetCommandLineWriter(CommandLineWriter * writer);
-
- extern CommandLineWriter * currentCommandWriter;
- template<typename ...Args>
- void uiprintf(const wchar_t * format, Args... args)
- {
- if (currentCommandWriter)
- {
- char buffer[1024];
- snprintf(buffer, 1024, format, args...);
- currentCommandWriter->Write(buffer);
- }
- }
}
#endif \ No newline at end of file