summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/hciconfwrapper.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/hciconfwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/hciconfwrapper.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/hciconfwrapper.h b/noncore/net/opietooth/manager/hciconfwrapper.h
index 0c4b290..5bf483c 100644
--- a/noncore/net/opietooth/manager/hciconfwrapper.h
+++ b/noncore/net/opietooth/manager/hciconfwrapper.h
@@ -1,34 +1,44 @@
1/* $Id$ */
2/* hcid.conf parser */
3/***************************************************************************
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 ***************************************************************************/
1#ifndef HCICONFWRAPPER_H 11#ifndef HCICONFWRAPPER_H
2#define HCICONFWRAPPER_H 12#define HCICONFWRAPPER_H
3 13
4#include <qstring.h> 14#include <qstring.h>
5#include <qstringlist.h> 15#include <qstringlist.h>
6 16
7namespace OpieTooth { 17namespace OpieTooth {
8 18
9 class HciConfWrapper { 19 class HciConfWrapper {
10 20
11 public: 21 public:
12 HciConfWrapper( const QString &fileName ); 22 HciConfWrapper( const QString &fileName );
13 ~HciConfWrapper(); 23 ~HciConfWrapper();
14 void load(); 24 void load();
15 void save(); 25 void save();
16 26
17 void setPinHelper( const QString& app ); 27 void setPinHelper( const QString& app );
18 void setName( const QString& name ); 28 void setName( const QString& name );
19 void setIscan( bool enable ); 29 void setIscan( bool enable );
20 void setPscan( bool enable ); 30 void setPscan( bool enable );
21 void setAuth( bool enable); 31 void setAuth( bool enable);
22 void setEncrypt( bool enable); 32 void setEncrypt( bool enable);
23 33
24 private: 34 private:
25 35
26 void setValue(const QString &entry, const QString &value ); 36 void setValue(const QString &entry, const QString &value );
27 37
28 QString m_fileName; 38 QString m_fileName;
29 QStringList m_file; 39 QStringList m_file;
30 }; 40 };
31 41
32} 42}
33 43
34#endif 44#endif