summaryrefslogtreecommitdiff
path: root/cpp/src/slice2js/Gen.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-01-14 09:22:33 +0100
committerJose <jose@zeroc.com>2015-01-14 09:22:33 +0100
commit195454df0895051579cd83d6e64d2308a8f42c16 (patch)
tree6527548e026a929f410aef51ad467b26c4e8bf2c /cpp/src/slice2js/Gen.h
parentFix another bug with hello demos. (diff)
downloadice-195454df0895051579cd83d6e64d2308a8f42c16.tar.bz2
ice-195454df0895051579cd83d6e64d2308a8f42c16.tar.xz
ice-195454df0895051579cd83d6e64d2308a8f42c16.zip
JavaScript updates to use gulp and add npm and bower packages
Diffstat (limited to 'cpp/src/slice2js/Gen.h')
-rw-r--r--cpp/src/slice2js/Gen.h8
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();