summaryrefslogtreecommitdiff
path: root/examples/opiebluez/oblueztest
Side-by-side diff
Diffstat (limited to 'examples/opiebluez/oblueztest') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiebluez/oblueztest/main.cpp2
-rw-r--r--examples/opiebluez/oblueztest/oblueztest.pro4
2 files changed, 3 insertions, 3 deletions
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 @@
#include <opie2/odebug.h>
#include <opie2/obluetooth.h>
using namespace Opie::Core;
-using namespace Opie::Shower;
+using namespace Opie::Bluez;
int main( int argc, char** argv )
{
OBluetooth* sys = OBluetooth::instance();
OBluetooth::InterfaceIterator it = sys->iterator();
while( it.current() )
{
odebug << "APP: Bluetooth host controller interface '" << it.current()->name() << "' has MAC '" << it.current()->macAddress() << "'" << oendl;
++it;
}
return 0;
}
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 @@
TEMPLATE = app
CONFIG = qt warn_on
HEADERS = main.h
SOURCES = main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2 -lopieshower2
-TARGET = oshowertest
+LIBS += -lopiecore2 -lopiebluez2
+TARGET = oblueztest
!contains( platform, x11 ) {
include( $(OPIEDIR)/include.pro )
}
contains( platform, x11 ) {
LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}