* Async method calls makeup (Ben Martin)

git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@12449 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
pdurante 2007-08-31 03:15:39 +00:00
parent b8c0b7c52c
commit ecd2428049
3 changed files with 51 additions and 13 deletions

View file

@ -31,6 +31,7 @@
#include "api.h"
#include "util.h"
#include "message.h"
namespace DBus {
@ -44,8 +45,12 @@ public:
PendingCall( Private* );
PendingCall( const PendingCall& );
virtual ~PendingCall();
PendingCall& operator = ( const PendingCall& );
bool completed();
void cancel();
@ -56,11 +61,9 @@ public:
void* data();
Slot<void, PendingCall&> slot;
Slot<void, PendingCall&>& slot();
private:
DXXAPILOCAL PendingCall( const PendingCall& );
Message steal_reply();
private: