summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-03-20 17:26:32 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-03-20 17:26:32 +0000
commitece547d12646753b06599064b3afd673bb46e1a7 (patch)
tree04baf10ddc3f715c979c7ec5ec76b8aa878f6be7 /cpp/src/slice2cppe/Gen.cpp
parentFixed bug 908 (diff)
downloadice-ece547d12646753b06599064b3afd673bb46e1a7.tar.bz2
ice-ece547d12646753b06599064b3afd673bb46e1a7.tar.xz
ice-ece547d12646753b06599064b3afd673bb46e1a7.zip
Added requestId to Current.
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index 1e5b2b07e71..0c18079979b 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -1678,6 +1678,13 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
H << nl << "public:" << sp;
H.inc();
+ if(!p->isLocal())
+ {
+ H << nl << "typedef " << name << "Prx ProxyType;";
+ }
+ H << nl << "typedef " << name << "Ptr PointerType;";
+ H << nl;
+
vector<string> params;
vector<string> allTypes;
vector<string> allParamDecls;