summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/scope/Server.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-07-30 12:45:29 +0200
committerJose <jose@zeroc.com>2019-07-31 13:13:40 +0200
commit3e71d9e1a29bc8169452b039bb723406ff8ef0fe (patch)
treecfde39529b1a21d6f4c4e87b2a92a366eafc9993 /cpp/test/Ice/scope/Server.cpp
parentUpdate .npmignore to ignore .tgz files (diff)
downloadice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.tar.bz2
ice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.tar.xz
ice-3e71d9e1a29bc8169452b039bb723406ff8ef0fe.zip
Fixes for C++ & Swift generated code - Close #458
Diffstat (limited to 'cpp/test/Ice/scope/Server.cpp')
-rw-r--r--cpp/test/Ice/scope/Server.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/cpp/test/Ice/scope/Server.cpp b/cpp/test/Ice/scope/Server.cpp
index 1e4d4f9f438..5a8d2668da1 100644
--- a/cpp/test/Ice/scope/Server.cpp
+++ b/cpp/test/Ice/scope/Server.cpp
@@ -27,6 +27,10 @@ public:
virtual Test::CSeq opCSeq(ICE_IN(Test::CSeq), Test::CSeq&, const Ice::Current&);
virtual Test::CMap opCMap(ICE_IN(Test::CMap), Test::CMap&, const Ice::Current&);
+ virtual Test::E1 opE1(Test::E1, const Ice::Current&);
+ virtual Test::S1 opS1(ICE_IN(Test::S1), const Ice::Current&);
+ virtual Test::C1Ptr opC1(ICE_IN(Test::C1Ptr), const Ice::Current&);
+
virtual void shutdown(const Ice::Current&);
};
@@ -149,6 +153,24 @@ I1::opCMap(ICE_IN(Test::CMap) c1, Test::CMap& c2, const Ice::Current&)
return c1;
}
+Test::E1
+I1::opE1(Test::E1 e1, const Ice::Current&)
+{
+ return e1;
+}
+
+Test::S1
+I1::opS1(ICE_IN(Test::S1) s1, const Ice::Current&)
+{
+ return s1;
+}
+
+Test::C1Ptr
+I1::opC1(ICE_IN(Test::C1Ptr) c1, const Ice::Current&)
+{
+ return c1;
+}
+
void
I1::shutdown(const Ice::Current& current)
{