summaryrefslogtreecommitdiff
path: root/examples
Unidiff
Diffstat (limited to 'examples') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiebluez/obluezdemo/obluezdemo.pro4
-rw-r--r--examples/opiebluez/oblueztest/main.cpp2
-rw-r--r--examples/opiebluez/oblueztest/oblueztest.pro4
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 @@
1TEMPLATE = app 1TEMPLATE = app
2CONFIG = qt warn_on 2CONFIG = qt warn_on
3HEADERS = main.h 3HEADERS = main.h
4SOURCES = main.cpp 4SOURCES = main.cpp
5INCLUDEPATH += $(OPIEDIR)/include 5INCLUDEPATH += $(OPIEDIR)/include
6DEPENDPATH += $(OPIEDIR)/include 6DEPENDPATH += $(OPIEDIR)/include
7LIBS += -lopiecore2 -lopieshower2 7LIBS += -lopiecore2 -lopiebluez2
8TARGET = oshowerdemo 8TARGET = 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
14contains( platform, x11 ) { 14contains( 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
4using namespace Opie::Core; 4using namespace Opie::Core;
5using namespace Opie::Shower; 5using namespace Opie::Bluez;
6 6
7int main( int argc, char** argv ) 7int 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 @@
1TEMPLATE = app 1TEMPLATE = app
2CONFIG = qt warn_on 2CONFIG = qt warn_on
3HEADERS = main.h 3HEADERS = main.h
4SOURCES = main.cpp 4SOURCES = main.cpp
5INCLUDEPATH += $(OPIEDIR)/include 5INCLUDEPATH += $(OPIEDIR)/include
6DEPENDPATH += $(OPIEDIR)/include 6DEPENDPATH += $(OPIEDIR)/include
7LIBS += -lopiecore2 -lopieshower2 7LIBS += -lopiecore2 -lopiebluez2
8TARGET = oshowertest 8TARGET = 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
14contains( platform, x11 ) { 14contains( platform, x11 ) {
15 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib 15 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
16} 16}
17 17