From 04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 15 Jun 2017 15:21:20 -0700 Subject: Remove more "core" code that isn't used. It is always easier to add back code when you need it, than it is to maintain code you aren't using. --- source/core/slang-io.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'source/core/slang-io.h') 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 - 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 -- cgit v1.2.3