-rw-r--r-- | examples/opiebluez/oblueztest/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/opiebluez/oblueztest/main.cpp b/examples/opiebluez/oblueztest/main.cpp index 35fd2d9..a9fa3f6 100644 --- a/examples/opiebluez/oblueztest/main.cpp +++ b/examples/opiebluez/oblueztest/main.cpp | |||
@@ -1,21 +1,20 @@ | |||
1 | #include <opie2/odebug.h> | 1 | #include <opie2/odebug.h> |
2 | #include <opie2/obluetooth.h> | 2 | #include <opie2/obluetooth.h> |
3 | #include <opie2/oinfrared.h> | ||
4 | 3 | ||
5 | using namespace Opie::Core; | 4 | using namespace Opie::Core; |
6 | using namespace Opie::Shower; | 5 | using namespace Opie::Shower; |
7 | 6 | ||
8 | int main( int argc, char** argv ) | 7 | int main( int argc, char** argv ) |
9 | { | 8 | { |
10 | OBluetooth* sys = OBluetooth::instance(); | 9 | OBluetooth* sys = OBluetooth::instance(); |
11 | 10 | ||
12 | OBluetooth::InterfaceIterator it = sys->iterator(); | 11 | OBluetooth::InterfaceIterator it = sys->iterator(); |
13 | 12 | ||
14 | while( it.current() ) | 13 | while( it.current() ) |
15 | { | 14 | { |
16 | odebug << "APP: Bluetooth host controller interface '" << it.current()->name() << "' has MAC '" << it.current()->macAddress() << "'" << oendl; | 15 | odebug << "APP: Bluetooth host controller interface '" << it.current()->name() << "' has MAC '" << it.current()->macAddress() << "'" << oendl; |
17 | ++it; | 16 | ++it; |
18 | } | 17 | } |
19 | return 0; | 18 | return 0; |
20 | } | 19 | } |
21 | 20 | ||