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
14 #ifndef AGENTADAPTOR_H
15 #define AGENTADAPTOR_H
17 #include <QDBusAbstractAdaptor>
18 #include "bluetoothbaseagent.h"
20 class AgentAdaptor : public QDBusAbstractAdaptor
23 Q_CLASSINFO("D-Bus Interface", "org.bluez.Agent");
25 AgentAdaptor(BluetoothBaseAgent *parent = NULL);
26 virtual ~AgentAdaptor();
31 void Authorize(const QDBusObjectPath &device, const QString &uuid);
33 void ConfirmModeChange(const QString &mode);
34 void DisplayPasskey(const QDBusObjectPath &device, uint passkey);
36 void RequestConfirmation(const QDBusObjectPath &device, uint passkey);
37 uint RequestPasskey(const QDBusObjectPath &device);
38 QString RequestPinCode(const QDBusObjectPath &device);
41 BluetoothBaseAgent *agent;
44 #endif // AGENTADAPTOR_H