3 * meego handset bluetooth
4 * Copyright © 2010, Intel Corporation.
6 * This program is licensed under the terms and conditions of the
7 * Apache License, version 2.0. The full text of the Apache License is at
8 * http://www.apache.org/licenses/LICENSE-2.0
15 #include "bluetoothbaseagent.h"
17 class AsyncAgent : public BluetoothBaseAgent
21 explicit AsyncAgent(QString path, QObject *parent = 0);
23 void requestConfirmation(OrgBluezDeviceInterface &device, uint key);
24 uint requestPasskey(OrgBluezDeviceInterface &device);
25 QString requestPidCode(OrgBluezDeviceInterface &device);
31 void replyRequestConfirmation(bool confirmed);
32 void replyPasskey(uint passkey);
33 void replyRequestPidCode(QString pidCode);
36 QDBusMessage pendingMessage;
37 QDBusConnection m_connection;
41 #endif // ASYNCAGENT_H