From 63c022af051f205c8080040bf60a9221e691304b Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 28 Jun 2002 21:15:58 +0000 Subject: connections --- (limited to 'noncore/net/opietooth/lib/manager.h') diff --git a/noncore/net/opietooth/lib/manager.h b/noncore/net/opietooth/lib/manager.h index 2589e9b..b32327c 100644 --- a/noncore/net/opietooth/lib/manager.h +++ b/noncore/net/opietooth/lib/manager.h @@ -7,6 +7,7 @@ #include #include +#include "connection.h" #include "remotedevice.h" #include "services.h" @@ -109,8 +110,24 @@ namespace OpieTooth { * search for services on a remote device */ void searchServices( const RemoteDevice& ); + + /** + * Starts to connect to the device + * in @param + */ + void connectTo(const QString& ); + + /** + * Searches for active connections + * the result is emitted with the + * connections signal + */ + void searchConnections(); + +//// not implemented yet /*static*/ QString toDevice( const QString& mac ); /*static*/ QString toMac( const QString &device ); +//// not implemented yet over signals: // device either mac or dev name @@ -136,6 +153,7 @@ private slots: private: Services::ValueList parseSDPOutput( const QString& ); RemoteDevice::ValueList parseHCIOutput( const QString& ); + Connection::ValueList parseConnections( const QString& ); OProcess *m_hcitool; OProcess *m_sdp; // not only one QString m_device; -- cgit v0.9.0.2