diff options
Diffstat (limited to 'cpp/include/Slice/Util.h')
-rw-r--r-- | cpp/include/Slice/Util.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/cpp/include/Slice/Util.h b/cpp/include/Slice/Util.h deleted file mode 100644 index a2ec69a87a2..00000000000 --- a/cpp/include/Slice/Util.h +++ /dev/null @@ -1,51 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef SLICE_UTIL_H -#define SLICE_UTIL_H - -#include <Slice/Parser.h> -#include <IceUtil/OutputUtil.h> - -#include <ostream> -#include <fstream> - -namespace Slice -{ - -std::string fullPath(const std::string&); -std::string changeInclude(const std::string&, const std::vector<std::string>&); -void setErrorStream(std::ostream&); -std::ostream& getErrorStream(); -void emitError(const std::string&, int, const std::string&); -void emitWarning(const std::string&, int, const std::string&); -void emitError(const std::string&, const std::string&, const std::string&); -void emitWarning(const std::string&, const std::string&, const std::string&); -void emitRaw(const char*); -std::vector<std::string> filterMcppWarnings(const std::string&); -void printGeneratedHeader(IceUtilInternal::Output& out, const std::string&, const std::string& commentStyle = "//"); - -class DependOutputUtil : IceUtil::noncopyable -{ -public: - - DependOutputUtil(std::string& file); - ~DependOutputUtil(); - void cleanup(); - std::ostream& os(); - -private: - - const std::string _file; - std::ofstream _os; -}; - -} - -#endif |