3 #if !defined(AGENT1PROXY_H_INCLUDED)
4 #define AGENT1PROXY_H_INCLUDED
11 #include <tqdbuserror.h>
15 class TQT_DBusConnection;
17 class TQT_DBusMessage;
18 class TQT_DBusObjectPath;
31 Agent1Proxy(
const TQString& service,
const TQString& path, TQObject* parent = 0,
const char* name = 0);
56 virtual bool Release(TQT_DBusError& error);
58 virtual bool Cancel(TQT_DBusError& error);
60 virtual bool RequestPinCodeAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device, TQT_DBusError& error);
62 virtual bool DisplayPinCodeAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device,
const TQString& pincode, TQT_DBusError& error);
64 virtual bool RequestPasskeyAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device, TQT_DBusError& error);
66 virtual bool DisplayPasskeyAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device, TQ_UINT32 passkey, TQ_UINT16 entered, TQT_DBusError& error);
68 virtual bool RequestConfirmationAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device, TQ_UINT32 passkey, TQT_DBusError& error);
72 virtual bool AuthorizeServiceAsync(
int& asyncCallId,
const TQT_DBusObjectPath& device,
const TQString& uuid, TQT_DBusError& error);
virtual void slotHandleAsyncReply(int id, const TQT_DBusMessage &message)
virtual bool RequestConfirmationAsync(int &asyncCallId, const TQT_DBusObjectPath &device, TQ_UINT32 passkey, TQT_DBusError &error)
Agent1Proxy & operator=(const Agent1Proxy &)
virtual bool RequestPasskeyAsync(int &asyncCallId, const TQT_DBusObjectPath &device, TQT_DBusError &error)
void setConnection(const TQT_DBusConnection &connection)
virtual bool DisplayPasskeyAsync(int &asyncCallId, const TQT_DBusObjectPath &device, TQ_UINT32 passkey, TQ_UINT16 entered, TQT_DBusError &error)
void RequestAuthorizationAsyncReply(int asyncCallId)
Agent1Proxy(const Agent1Proxy &)
void DisplayPasskeyAsyncReply(int asyncCallId)
virtual bool RequestPinCodeAsync(int &asyncCallId, const TQT_DBusObjectPath &device, TQT_DBusError &error)
TQT_DBusProxy * m_baseProxy
void DisplayPinCodeAsyncReply(int asyncCallId)
virtual bool DisplayPinCodeAsync(int &asyncCallId, const TQT_DBusObjectPath &device, const TQString &pincode, TQT_DBusError &error)
virtual bool Release(TQT_DBusError &error)
virtual bool AuthorizeServiceAsync(int &asyncCallId, const TQT_DBusObjectPath &device, const TQString &uuid, TQT_DBusError &error)
virtual bool RequestAuthorizationAsync(int &asyncCallId, const TQT_DBusObjectPath &device, TQT_DBusError &error)
void AuthorizeServiceAsyncReply(int asyncCallId)
void AsyncErrorResponseDetected(int asyncCallId, const TQT_DBusError error)
Agent1Proxy(const TQString &service, const TQString &path, TQObject *parent=0, const char *name=0)
void RequestConfirmationAsyncReply(int asyncCallId)
void RequestPasskeyAsyncReply(int asyncCallId, TQ_UINT32 passkey)
TQMap< int, TQString > m_asyncCalls
void RequestPinCodeAsyncReply(int asyncCallId, const TQString &pincode)
virtual bool Cancel(TQT_DBusError &error)