-rw-r--r-- | examples/opiebluez/obluezdemo/obluezdemo.pro | 4 | ||||
-rw-r--r-- | examples/opiebluez/oblueztest/main.cpp | 2 | ||||
-rw-r--r-- | examples/opiebluez/oblueztest/oblueztest.pro | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/opiebluez/obluezdemo/obluezdemo.pro b/examples/opiebluez/obluezdemo/obluezdemo.pro index cea0fcc..b173dbc 100644 --- a/examples/opiebluez/obluezdemo/obluezdemo.pro +++ b/examples/opiebluez/obluezdemo/obluezdemo.pro | |||
@@ -1,16 +1,16 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG = qt warn_on | 2 | CONFIG = qt warn_on |
3 | HEADERS = main.h | 3 | HEADERS = main.h |
4 | SOURCES = main.cpp | 4 | SOURCES = main.cpp |
5 | INCLUDEPATH += $(OPIEDIR)/include | 5 | INCLUDEPATH += $(OPIEDIR)/include |
6 | DEPENDPATH += $(OPIEDIR)/include | 6 | DEPENDPATH += $(OPIEDIR)/include |
7 | LIBS += -lopiecore2 -lopieshower2 | 7 | LIBS += -lopiecore2 -lopiebluez2 |
8 | TARGET = oshowerdemo | 8 | TARGET = obluezdemo |
9 | 9 | ||
10 | !contains( platform, x11 ) { | 10 | !contains( platform, x11 ) { |
11 | include( $(OPIEDIR)/include.pro ) | 11 | include( $(OPIEDIR)/include.pro ) |
12 | } | 12 | } |
13 | 13 | ||
14 | contains( platform, x11 ) { | 14 | contains( platform, x11 ) { |
15 | LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib | 15 | LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib |
16 | } | 16 | } |
diff --git a/examples/opiebluez/oblueztest/main.cpp b/examples/opiebluez/oblueztest/main.cpp index a9fa3f6..2e66d9a 100644 --- a/examples/opiebluez/oblueztest/main.cpp +++ b/examples/opiebluez/oblueztest/main.cpp | |||
@@ -1,20 +1,20 @@ | |||
1 | #include <opie2/odebug.h> | 1 | #include <opie2/odebug.h> |
2 | #include <opie2/obluetooth.h> | 2 | #include <opie2/obluetooth.h> |
3 | 3 | ||
4 | using namespace Opie::Core; | 4 | using namespace Opie::Core; |
5 | using namespace Opie::Shower; | 5 | using namespace Opie::Bluez; |
6 | 6 | ||
7 | int main( int argc, char** argv ) | 7 | int main( int argc, char** argv ) |
8 | { | 8 | { |
9 | OBluetooth* sys = OBluetooth::instance(); | 9 | OBluetooth* sys = OBluetooth::instance(); |
10 | 10 | ||
11 | OBluetooth::InterfaceIterator it = sys->iterator(); | 11 | OBluetooth::InterfaceIterator it = sys->iterator(); |
12 | 12 | ||
13 | while( it.current() ) | 13 | while( it.current() ) |
14 | { | 14 | { |
15 | 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; |
16 | ++it; | 16 | ++it; |
17 | } | 17 | } |
18 | return 0; | 18 | return 0; |
19 | } | 19 | } |
20 | 20 | ||
diff --git a/examples/opiebluez/oblueztest/oblueztest.pro b/examples/opiebluez/oblueztest/oblueztest.pro index 4439949..7fe0c18 100644 --- a/examples/opiebluez/oblueztest/oblueztest.pro +++ b/examples/opiebluez/oblueztest/oblueztest.pro | |||
@@ -1,17 +1,17 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG = qt warn_on | 2 | CONFIG = qt warn_on |
3 | HEADERS = main.h | 3 | HEADERS = main.h |
4 | SOURCES = main.cpp | 4 | SOURCES = main.cpp |
5 | INCLUDEPATH += $(OPIEDIR)/include | 5 | INCLUDEPATH += $(OPIEDIR)/include |
6 | DEPENDPATH += $(OPIEDIR)/include | 6 | DEPENDPATH += $(OPIEDIR)/include |
7 | LIBS += -lopiecore2 -lopieshower2 | 7 | LIBS += -lopiecore2 -lopiebluez2 |
8 | TARGET = oshowertest | 8 | TARGET = oblueztest |
9 | 9 | ||
10 | !contains( platform, x11 ) { | 10 | !contains( platform, x11 ) { |
11 | include( $(OPIEDIR)/include.pro ) | 11 | include( $(OPIEDIR)/include.pro ) |
12 | } | 12 | } |
13 | 13 | ||
14 | contains( platform, x11 ) { | 14 | contains( platform, x11 ) { |
15 | LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib | 15 | LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib |
16 | } | 16 | } |
17 | 17 | ||