libsolidcontrol
bluetoothsecurity.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2007 Will Stephenson <wstephenson@kde.org> 00003 Copyright (C) 2007 Daniel Gollub <dgollub@suse.de> 00004 Copyright (C) 2007 Juan González <jaguilera@opsiland.info> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License version 2 as published by the Free Software Foundation. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 00020 */ 00021 00022 #ifndef SOLID_IFACES_BLUETOOTHSECURITY_H 00023 #define SOLID_IFACES_BLUETOOTHSECURITY_H 00024 00025 #include "../solid_control_export.h" 00026 #include "../bluetoothsecurity.h" // So we know about Solid::Control::BluetoothPassKeyAgent 00027 00028 #include <QtCore/QObject> 00029 00030 namespace Solid 00031 { 00032 namespace Control 00033 { 00034 namespace Ifaces 00035 { 00039 class SOLIDCONTROLIFACES_EXPORT BluetoothSecurity : public QObject 00040 { 00041 Q_OBJECT 00042 public: 00048 BluetoothSecurity(QObject *parent = 0); 00049 00056 BluetoothSecurity(const QString &interface, QObject *parent = 0); 00057 00061 virtual ~BluetoothSecurity(); 00062 public Q_SLOTS: 00063 virtual void setPasskeyAgent(Solid::Control::BluetoothPasskeyAgent *agent) = 0; 00064 virtual void setAuthorizationAgent(Solid::Control::BluetoothAuthorizationAgent *agent) = 0; 00065 }; 00066 } //Ifaces 00067 } //Control 00068 } //Solid 00069 00070 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothSecurity, "org.kde.Solid.Ifaces.BluetoothSecurity/0.1") 00071 00072 #endif 00073