summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-01-04 00:45:05 +0000
committerMark Spruiell <mes@zeroc.com>2003-01-04 00:45:05 +0000
commit2f9d740c8ba8da86924d0323018f99d1b5644f1d (patch)
tree9a562a5b7d9d728ac061ebfde9f7f105650d6b07 /cpp/src/slice2java/Gen.h
parentFixed Ice.Warn.Dispatch value (diff)
downloadice-2f9d740c8ba8da86924d0323018f99d1b5644f1d.tar.bz2
ice-2f9d740c8ba8da86924d0323018f99d1b5644f1d.tar.xz
ice-2f9d740c8ba8da86924d0323018f99d1b5644f1d.zip
add AMD support to generated implementation examples
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r--cpp/src/slice2java/Gen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h
index 33dac340c66..0435e6ee4b4 100644
--- a/cpp/src/slice2java/Gen.h
+++ b/cpp/src/slice2java/Gen.h
@@ -213,6 +213,12 @@ private:
protected:
//
+ // Generate code to emit a local variable declaration and initialize it
+ // if necessary.
+ //
+ void writeDecl(::IceUtil::Output&, const std::string&, const std::string&, const TypePtr&);
+
+ //
// Generate code to return a value.
//
void writeReturn(::IceUtil::Output&, const TypePtr&);