summaryrefslogtreecommitdiffstats
path: root/source/core/slang-io.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-15 15:21:20 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-15 15:31:22 -0700
commit04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd (patch)
tree199e9a54596c572015c7b0652e62b941418f483f /source/core/slang-io.h
parent205187b561c3b31fa931e73e8f7263f0c4b1de41 (diff)
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.
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