summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/manager.cc
authorzecke <zecke>2002-06-20 22:23:44 (UTC)
committer zecke <zecke>2002-06-20 22:23:44 (UTC)
commit7b4a1dfd56b64e588d3fe6c75a51490df13e9797 (patch) (side-by-side diff)
tree43db3e094004ad478c43d93ddeafed044534035e /noncore/net/opietooth/lib/manager.cc
parentc2eb66bc5c5ac4225edff8b369026bd208f8c148 (diff)
downloadopie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.zip
opie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.tar.gz
opie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.tar.bz2
German politicians suck
Diffstat (limited to 'noncore/net/opietooth/lib/manager.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/manager.cc22
1 files changed, 14 insertions, 8 deletions
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc
index fcd21f6..177c94e 100644
--- a/noncore/net/opietooth/lib/manager.cc
+++ b/noncore/net/opietooth/lib/manager.cc
@@ -1,5 +1,8 @@
+
+
#include <opie/oprocess.h>
+#include "parser.h"
#include "manager.h"
@@ -13,7 +16,7 @@ Manager::Manager( const QString& dev )
m_hcitool = 0;
m_sdp = 0;
}
-Manager::Manager( Device* dev )
+Manager::Manager( Device* /*dev*/ )
: QObject()
{
m_hcitool = 0;
@@ -32,7 +35,7 @@ Manager::~Manager(){
void Manager::setDevice( const QString& dev ){
m_device = dev;
}
-void Manager::setDevice( Device* dev ){
+void Manager::setDevice( Device* /*dev*/ ){
}
void Manager::isAvailable( const QString& device ){
@@ -47,7 +50,8 @@ void Manager::isAvailable( const QString& device ){
}
}
-void Manager::isAvailable( Device* dev ){
+
+void Manager::isAvailable( Device* /*dev*/ ){
}
@@ -68,7 +72,7 @@ void Manager::searchDevices( const QString& device ){
}
}
-void Manager::searchDevices(Device* d ){
+void Manager::searchDevices(Device* /*d*/ ){
}
@@ -115,11 +119,11 @@ void Manager::searchServices( const QString& remDevice ){
void Manager::searchServices( const RemoteDevice& dev){
searchServices( dev.mac() );
}
-QString Manager::toDevice( const QString& mac ){
-
+QString Manager::toDevice( const QString& /*mac*/ ){
+ return QString::null;
}
-QString Manager::toMac( const QString &device ){
-
+QString Manager::toMac( const QString &/*device*/ ){
+ return QString::null;
}
void Manager::slotProcessExited(OProcess* proc ) {
bool conn= false;
@@ -157,6 +161,8 @@ void Manager::slotSDPExited( OProcess* proc)
}
Services::ValueList Manager::parseSDPOutput( const QString& out ) {
Services::ValueList list;
+ Parser parser( out );
+ list = parser.services();
return list;
}