From d4e2d4a61ec598cc564cd6fc38e3fb1e22c077c2 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Mon, 20 Mar 2006 16:09:18 +0000 Subject: Added ProxyType and PointerType typedefs --- cpp/src/slice2cpp/Gen.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 2b7ea158304..8a5c5dd5873 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -2474,6 +2474,14 @@ 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 params; vector allTypes; vector allParamDecls; -- cgit v1.2.3