summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
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;