diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-02-10 16:01:12 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-02-10 16:01:12 +0300 |
commit | 8c97da4e69e603916aaa8b00e2a26840c81262da (patch) | |
tree | bd4286f4472baa37789732debaf68e8dc0074bb3 /src/murmur/MurmurIceWrapper.cpp | |
parent | 6242768ab2526b1b3aa612b1d8db0baaf776869f (diff) |
Start of Ice callbacks
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1509 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/murmur/MurmurIceWrapper.cpp')
-rw-r--r-- | src/murmur/MurmurIceWrapper.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/murmur/MurmurIceWrapper.cpp b/src/murmur/MurmurIceWrapper.cpp index 85b17bccf..b01cd4b81 100644 --- a/src/murmur/MurmurIceWrapper.cpp +++ b/src/murmur/MurmurIceWrapper.cpp @@ -18,6 +18,14 @@ void ::Murmur::ServerI::id_async(const ::Murmur::AMD_Server_idPtr &cb, const ::I IceEvent *ie = new IceEvent(boost::bind(&impl_Server_id, cb, QString::fromStdString(current.id.name).toInt())); QCoreApplication::instance()->postEvent(mi, ie); }; +void ::Murmur::ServerI::addCallback_async(const ::Murmur::AMD_Server_addCallbackPtr &cb, const ::Murmur::ServerCallbackPrx& p1, const ::Ice::Current ¤t) { + IceEvent *ie = new IceEvent(boost::bind(&impl_Server_addCallback, cb, QString::fromStdString(current.id.name).toInt(), p1)); + QCoreApplication::instance()->postEvent(mi, ie); +}; +void ::Murmur::ServerI::removeCallback_async(const ::Murmur::AMD_Server_removeCallbackPtr &cb, const ::Murmur::ServerCallbackPrx& p1, const ::Ice::Current ¤t) { + IceEvent *ie = new IceEvent(boost::bind(&impl_Server_removeCallback, cb, QString::fromStdString(current.id.name).toInt(), p1)); + QCoreApplication::instance()->postEvent(mi, ie); +}; void ::Murmur::ServerI::getConf_async(const ::Murmur::AMD_Server_getConfPtr &cb, const ::std::string& p1, const ::Ice::Current ¤t) { IceEvent *ie = new IceEvent(boost::bind(&impl_Server_getConf, cb, QString::fromStdString(current.id.name).toInt(), p1)); QCoreApplication::instance()->postEvent(mi, ie); |