Diffstat (limited to 'noncore/net/opietooth/lib/manager.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/manager.cc | 22 |
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,3 +1,6 @@ + + #include <opie/oprocess.h> +#include "parser.h" #include "manager.h" @@ -15,3 +18,3 @@ Manager::Manager( const QString& dev ) } -Manager::Manager( Device* dev ) +Manager::Manager( Device* /*dev*/ ) : QObject() @@ -34,3 +37,3 @@ void Manager::setDevice( const QString& dev ){ } -void Manager::setDevice( Device* dev ){ +void Manager::setDevice( Device* /*dev*/ ){ @@ -49,3 +52,4 @@ void Manager::isAvailable( const QString& device ){ } -void Manager::isAvailable( Device* dev ){ + +void Manager::isAvailable( Device* /*dev*/ ){ @@ -70,3 +74,3 @@ void Manager::searchDevices( const QString& device ){ -void Manager::searchDevices(Device* d ){ +void Manager::searchDevices(Device* /*d*/ ){ @@ -117,7 +121,7 @@ void Manager::searchServices( const RemoteDevice& dev){ } -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; } @@ -159,2 +163,4 @@ Services::ValueList Manager::parseSDPOutput( const QString& out ) { Services::ValueList list; + Parser parser( out ); + list = parser.services(); return list; |