summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/manager.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/manager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/manager.h18
1 files changed, 18 insertions, 0 deletions
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 @@
7#include <qmap.h> 7#include <qmap.h>
8#include <qvaluelist.h> 8#include <qvaluelist.h>
9 9
10#include "connection.h"
10#include "remotedevice.h" 11#include "remotedevice.h"
11#include "services.h" 12#include "services.h"
12 13
@@ -109,8 +110,24 @@ namespace OpieTooth {
109 * search for services on a remote device 110 * search for services on a remote device
110 */ 111 */
111 void searchServices( const RemoteDevice& ); 112 void searchServices( const RemoteDevice& );
113
114 /**
115 * Starts to connect to the device
116 * in @param
117 */
118 void connectTo(const QString& );
119
120 /**
121 * Searches for active connections
122 * the result is emitted with the
123 * connections signal
124 */
125 void searchConnections();
126
127//// not implemented yet
112 /*static*/ QString toDevice( const QString& mac ); 128 /*static*/ QString toDevice( const QString& mac );
113 /*static*/ QString toMac( const QString &device ); 129 /*static*/ QString toMac( const QString &device );
130//// not implemented yet over
114 131
115 signals: 132 signals:
116 // device either mac or dev name 133 // device either mac or dev name
@@ -136,6 +153,7 @@ private slots:
136 private: 153 private:
137 Services::ValueList parseSDPOutput( const QString& ); 154 Services::ValueList parseSDPOutput( const QString& );
138 RemoteDevice::ValueList parseHCIOutput( const QString& ); 155 RemoteDevice::ValueList parseHCIOutput( const QString& );
156 Connection::ValueList parseConnections( const QString& );
139 OProcess *m_hcitool; 157 OProcess *m_hcitool;
140 OProcess *m_sdp; // not only one 158 OProcess *m_sdp; // not only one
141 QString m_device; 159 QString m_device;