Diffstat (limited to 'noncore/apps/opie-console/io_bt.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_bt.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/noncore/apps/opie-console/io_bt.cpp b/noncore/apps/opie-console/io_bt.cpp index c102427..a06b0c4 100644 --- a/noncore/apps/opie-console/io_bt.cpp +++ b/noncore/apps/opie-console/io_bt.cpp | |||
@@ -2,8 +2,4 @@ | |||
2 | #include "io_bt.h" | 2 | #include "io_bt.h" |
3 | 3 | ||
4 | /* OPIE */ | ||
5 | #include <opie2/odebug.h> | ||
6 | using namespace Opie::Core; | ||
7 | |||
8 | IOBt::IOBt( const Profile &config ) : IOSerial( config ) { | 4 | IOBt::IOBt( const Profile &config ) : IOSerial( config ) { |
9 | m_attach = 0; | 5 | m_attach = 0; |
@@ -36,5 +32,5 @@ bool IOBt::open() { | |||
36 | // now it should also be checked, if there is a connection to the device with that mac allready | 32 | // now it should also be checked, if there is a connection to the device with that mac allready |
37 | // hciattach here | 33 | // hciattach here |
38 | m_attach = new OProcess(); | 34 | m_attach = new Opie::Core::OProcess(); |
39 | *m_attach << "hciattach /dev/ttyS2 any 57600"; | 35 | *m_attach << "hciattach /dev/ttyS2 any 57600"; |
40 | 36 | ||
@@ -47,5 +43,4 @@ bool IOBt::open() { | |||
47 | ret = IOSerial::open(); | 43 | ret = IOSerial::open(); |
48 | } else { | 44 | } else { |
49 | owarn << "could not attach to device" << oendl; | ||
50 | delete m_attach; | 45 | delete m_attach; |
51 | m_attach = 0; | 46 | m_attach = 0; |
@@ -79,18 +74,6 @@ QString IOBt::name() const { | |||
79 | } | 74 | } |
80 | 75 | ||
81 | void IOBt::slotExited( OProcess* proc ){ | 76 | void IOBt::slotExited( Opie::Core::OProcess* proc ){ |
82 | close(); | 77 | close(); |
83 | delete proc; | 78 | delete proc; |
84 | } | 79 | } |
85 | |||
86 | QBitArray IOBt::supports() const { | ||
87 | return QBitArray( 3 ); | ||
88 | } | ||
89 | |||
90 | bool IOBt::isConnected() { | ||
91 | return false; | ||
92 | } | ||
93 | |||
94 | void IOBt::send(const QByteArray &data) { | ||
95 | odebug << "Please overload me..." << oendl; | ||
96 | } | ||