Diffstat (limited to 'noncore/net/opietooth/lib/manager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/opietooth/lib/manager.h b/noncore/net/opietooth/lib/manager.h index 95e4306..aba70f7 100644 --- a/noncore/net/opietooth/lib/manager.h +++ b/noncore/net/opietooth/lib/manager.h | |||
@@ -77,55 +77,55 @@ Q_OBJECT | |||
77 | void addService(const QString &name ); | 77 | void addService(const QString &name ); |
78 | /** | 78 | /** |
79 | * This will add the services @param names | 79 | * This will add the services @param names |
80 | * to the sdpd daemon | 80 | * to the sdpd daemon |
81 | * It will start the daemon if necessary | 81 | * It will start the daemon if necessary |
82 | */ | 82 | */ |
83 | void addServices( const QStringList& names ); | 83 | void addServices( const QStringList& names ); |
84 | /** | 84 | /** |
85 | * This removes a service from the sdps | 85 | * This removes a service from the sdps |
86 | */ | 86 | */ |
87 | void removeService(const QString &name ); | 87 | void removeService(const QString &name ); |
88 | /** | 88 | /** |
89 | * Removes a list from the sdpd | 89 | * Removes a list from the sdpd |
90 | */ | 90 | */ |
91 | void removeServices(const QStringList& ); | 91 | void removeServices(const QStringList& ); |
92 | 92 | ||
93 | /** | 93 | /** |
94 | * search for services on a remote device | 94 | * search for services on a remote device |
95 | * | 95 | * |
96 | */ | 96 | */ |
97 | void searchServices( const QString& remDevice ); | 97 | void searchServices( const QString& remDevice ); |
98 | /** | 98 | /** |
99 | * search for services on a remote device | 99 | * search for services on a remote device |
100 | */ | 100 | */ |
101 | void searchServices( const RemoteDevices& ); | 101 | void searchServices( const RemoteDevice& ); |
102 | /*static*/ QString toDevice( const QString& mac ); | 102 | /*static*/ QString toDevice( const QString& mac ); |
103 | /*static*/ QString toMac( const QString &device ); | 103 | /*static*/ QString toMac( const QString &device ); |
104 | 104 | ||
105 | signals: | 105 | signals: |
106 | // device either mac or dev name | 106 | // device either mac or dev name |
107 | // the first device is the device which you access | 107 | // the first device is the device which you access |
108 | void connected( const QString& device, bool connected ); | 108 | void connected( const QString& device, bool connected ); |
109 | void addedService( const QString& service, bool added ); | 109 | void addedService( const QString& service, bool added ); |
110 | void removedService( const QString& service, bool removed ); | 110 | void removedService( const QString& service, bool removed ); |
111 | void foundServices( const QString& device, Services::ValueList ); | 111 | void foundServices( const QString& device, Services::ValueList ); |
112 | void foundDevices( const QString& device, RemoteDevices::ValueList ); | 112 | void foundDevices( const QString& device, RemoteDevice::ValueList ); |
113 | 113 | ||
114 | private slots: | 114 | private slots: |
115 | void slotProcessExited(OProcess* ); | 115 | void slotProcessExited(OProcess* ); |
116 | void slotSDPExited(OProcess*); | 116 | void slotSDPExited(OProcess*); |
117 | void slotSDPOut(OProcess*, char*, int); | 117 | void slotSDPOut(OProcess*, char*, int); |
118 | void slotHCIExited(OProcess* ); | 118 | void slotHCIExited(OProcess* ); |
119 | void slotHCIOut(OProcess*, char*, int ); | 119 | void slotHCIOut(OProcess*, char*, int ); |
120 | private: | 120 | private: |
121 | Services::ValueList parseSDPOutput( const QString& ); | 121 | Services::ValueList parseSDPOutput( const QString& ); |
122 | RemoteDevices::ValueList parseHCIOutput( const QString& ); | 122 | RemoteDevice::ValueList parseHCIOutput( const QString& ); |
123 | OProcess *m_hcitool; | 123 | OProcess *m_hcitool; |
124 | OProcess *m_sdp; // not only one | 124 | OProcess *m_sdp; // not only one |
125 | QString m_device; | 125 | QString m_device; |
126 | QMap<QString, QString> m_out; | 126 | QMap<QString, QString> m_out; |
127 | QMap<QString, QString> m_devices; | 127 | QMap<QString, QString> m_devices; |
128 | }; | 128 | }; |
129 | }; | 129 | }; |
130 | 130 | ||
131 | #endif | 131 | #endif |