diff options
Diffstat (limited to 'cpp/src/slice2js/Gen.h')
-rw-r--r-- | cpp/src/slice2js/Gen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/slice2js/Gen.h b/cpp/src/slice2js/Gen.h index f982df5ce27..86011de4bc8 100644 --- a/cpp/src/slice2js/Gen.h +++ b/cpp/src/slice2js/Gen.h @@ -55,6 +55,12 @@ public: const std::vector<std::string>&, const std::string&, bool); + + Gen(const std::string&, + const std::vector<std::string>&, + const std::string&, + bool, + std::ostream&); ~Gen(); void generate(const UnitPtr&); @@ -62,11 +68,13 @@ public: private: + std::ofstream _stdout; IceUtilInternal::Output _out; std::vector<std::string> _includePaths; std::string _fileBase; bool _icejs; + bool _useStdout; void printHeader(); |