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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/hciconfwrapper.h b/noncore/net/opietooth/manager/hciconfwrapper.h
index de8c9a8..0c4b290 100644
--- a/noncore/net/opietooth/manager/hciconfwrapper.h
+++ b/noncore/net/opietooth/manager/hciconfwrapper.h
@@ -1,18 +1,21 @@
1#ifndef HCICONFWRAPPER_H 1#ifndef HCICONFWRAPPER_H
2#define HCICONFWRAPPER_H 2#define HCICONFWRAPPER_H
3 3
4#include <qstring.h> 4#include <qstring.h>
5#include <qstringlist.h>
5 6
6namespace OpieTooth { 7namespace OpieTooth {
7 8
8 class HciConfWrapper { 9 class HciConfWrapper {
9 10
10 public: 11 public:
11 HciConfWrapper( const QString &fileName ); 12 HciConfWrapper( const QString &fileName );
12 ~HciConfWrapper(); 13 ~HciConfWrapper();
14 void load();
15 void save();
13 16
14 void setPinHelper( const QString& app ); 17 void setPinHelper( const QString& app );
15 void setName( const QString& name ); 18 void setName( const QString& name );
16 void setIscan( bool enable ); 19 void setIscan( bool enable );
17 void setPscan( bool enable ); 20 void setPscan( bool enable );
18 void setAuth( bool enable); 21 void setAuth( bool enable);
@@ -20,11 +23,12 @@ namespace OpieTooth {
20 23
21 private: 24 private:
22 25
23 void setValue(const QString &entry, const QString &value ); 26 void setValue(const QString &entry, const QString &value );
24 27
25 QString m_fileName; 28 QString m_fileName;
29 QStringList m_file;
26 }; 30 };
27 31
28} 32}
29 33
30#endif 34#endif