summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/device.cc24
-rw-r--r--noncore/net/opietooth/lib/device.h2
-rw-r--r--noncore/net/opietooth/lib/lib.pro4
3 files changed, 27 insertions, 3 deletions
diff --git a/noncore/net/opietooth/lib/device.cc b/noncore/net/opietooth/lib/device.cc
new file mode 100644
index 0000000..b567e2b
--- a/dev/null
+++ b/noncore/net/opietooth/lib/device.cc
@@ -0,0 +1,24 @@
1
2#include "device.h"
3
4using namespace OpieTooth;
5
6Device::Device(const QString &device, const QString &mode )
7 : QObject(0, "device" ){
8
9}
10Device::~Device(){
11
12}
13void Device::attach(){
14
15}
16void Device::detach(){
17
18}
19bool Device::isLoaded()const{
20 return false;
21}
22QString Device::devName()const {
23 return QString::fromLatin1("hci0");
24};
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h
index d6cf049..d23f24c 100644
--- a/noncore/net/opietooth/lib/device.h
+++ b/noncore/net/opietooth/lib/device.h
@@ -62,3 +62,3 @@ namespace OpieTooth {
62 */ 62 */
63 device(const QString& device, bool up ); 63 void device(const QString& device, bool up );
64 }; 64 };
diff --git a/noncore/net/opietooth/lib/lib.pro b/noncore/net/opietooth/lib/lib.pro
index 99274a7..7cededf 100644
--- a/noncore/net/opietooth/lib/lib.pro
+++ b/noncore/net/opietooth/lib/lib.pro
@@ -2,4 +2,4 @@ TEMPLATE = lib
2CONFIG += qte warn_on release 2CONFIG += qte warn_on release
3 HEADERS = kprocctrl.h kprocess.h 3 HEADERS = kprocctrl.h kprocess.h device.h
4 SOURCES = kprocctrl.cpp kprocess.cpp 4 SOURCES = kprocctrl.cpp kprocess.cpp device.cc
5 TARGET = opietooth 5 TARGET = opietooth