summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-27 20:54:00 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-27 20:54:00 +0000
commitd331c4f5778d3287334175fdf9c8191d659fe0f5 (patch)
treee49632f032c05a734371e074c75e4e59ff908a96 /cpp/src/slice2cpp/Gen.cpp
parentlocation transparency stuff (diff)
downloadice-d331c4f5778d3287334175fdf9c8191d659fe0f5.tar.bz2
ice-d331c4f5778d3287334175fdf9c8191d659fe0f5.tar.xz
ice-d331c4f5778d3287334175fdf9c8191d659fe0f5.zip
more collocation stuff
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index cbf12353d14..8ac993b9233 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -688,6 +688,7 @@ Slice::Gen::ProxyVisitor::visitClassDefEnd(const ClassDefPtr& p)
H.inc();
H << sp;
H << nl << "virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();";
+ H << nl << "virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();";
H << eb << ';';
C << sp;
C << nl << "::IceInternal::Handle< ::IceDelegateM::Ice::Object>";
@@ -695,6 +696,12 @@ Slice::Gen::ProxyVisitor::visitClassDefEnd(const ClassDefPtr& p)
C << sb;
C << nl << "return ::IceInternal::Handle< ::IceDelegateM::Ice::Object>(new ::IceDelegateM" << scoped << ");";
C << eb;
+ C << sp;
+ C << nl << "::IceInternal::Handle< ::IceDelegateD::Ice::Object>";
+ C << nl << "IceProxy" << scoped << "::__createDelegateD()";
+ C << sb;
+ C << nl << "return ::IceInternal::Handle< ::IceDelegateD::Ice::Object>(new ::IceDelegateD" << scoped << ");";
+ C << eb;
}
void