📄 _chat_bt_service_searcher_8h-source.html
字号:
<a name="l00133"></a>00133 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#b081256c1393c2846e7a2dc3ba0fce33">FoundElementL</a>( TInt aKey, CSdpAttrValue& aValue ) = 0;<a name="l00134"></a>00134 <a name="l00135"></a>00135 <span class="keyword">public</span>: <span class="comment">// from MSdpAgentNotifier</span><a name="l00136"></a>00136 <span class="comment"></span><a name="l00137"></a>00137 <span class="comment"> /**</span><a name="l00138"></a>00138 <span class="comment"> * NextRecordRequestComplete()</span><a name="l00139"></a>00139 <span class="comment"> * Process the result of the next record request</span><a name="l00140"></a>00140 <span class="comment"> * @param aError the error code</span><a name="l00141"></a>00141 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00142"></a>00142 <span class="comment"> * @param aTotalRecordsCount the total number of matching </span><a name="l00143"></a>00143 <span class="comment"> * service records</span><a name="l00144"></a>00144 <span class="comment"> */</span><a name="l00145"></a>00145 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#2a759a7d9eefa26695ecbec5584b4263">NextRecordRequestComplete</a>( TInt aError, <a name="l00146"></a>00146 TSdpServRecordHandle aHandle, <a name="l00147"></a>00147 TInt aTotalRecordsCount );<a name="l00148"></a>00148 <span class="comment"></span><a name="l00149"></a>00149 <span class="comment"> /** </span><a name="l00150"></a>00150 <span class="comment"> * AttributeRequestResult()</span><a name="l00151"></a>00151 <span class="comment"> * Process the next attribute requested</span><a name="l00152"></a>00152 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00153"></a>00153 <span class="comment"> * @param aAttrID the id of the attribute</span><a name="l00154"></a>00154 <span class="comment"> * @param aAttrValue the value of the attribute</span><a name="l00155"></a>00155 <span class="comment"> */</span><a name="l00156"></a>00156 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#b379e7c6c82e99acbcd138c24daa38c7">AttributeRequestResult</a>( TSdpServRecordHandle aHandle, <a name="l00157"></a>00157 TSdpAttributeID aAttrID, <a name="l00158"></a>00158 CSdpAttrValue* aAttrValue );<a name="l00159"></a>00159 <span class="comment"></span><a name="l00160"></a>00160 <span class="comment"> /** </span><a name="l00161"></a>00161 <span class="comment"> * AttributeRequestComplete()</span><a name="l00162"></a>00162 <span class="comment"> * Process the arrtibute request completion</span><a name="l00163"></a>00163 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00164"></a>00164 <span class="comment"> * @param aError the error code</span><a name="l00165"></a>00165 <span class="comment"> */</span><a name="l00166"></a>00166 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#6c73c8c919f9d7de5cd49fa6fe68b63d">AttributeRequestComplete</a>( TSdpServRecordHandle aHandle, <a name="l00167"></a>00167 TInt aError );<a name="l00168"></a>00168 <a name="l00169"></a>00169 <span class="keyword">private</span>: <span class="comment">// Functions from base classes</span><a name="l00170"></a>00170 <span class="comment"></span><a name="l00171"></a>00171 <span class="comment"> /**</span><a name="l00172"></a>00172 <span class="comment"> * NextRecordRequestCompleteL()</span><a name="l00173"></a>00173 <span class="comment"> * Process the result of the next record request</span><a name="l00174"></a>00174 <span class="comment"> * @param aError the error code</span><a name="l00175"></a>00175 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00176"></a>00176 <span class="comment"> * @param aTotalRecordsCount the total number of </span><a name="l00177"></a>00177 <span class="comment"> * matching service records</span><a name="l00178"></a>00178 <span class="comment"> */</span><a name="l00179"></a>00179 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#404bbdb6cd2c08c6bd7e40a4e05330c0">NextRecordRequestCompleteL</a>( TInt aError, <a name="l00180"></a>00180 TSdpServRecordHandle aHandle, <a name="l00181"></a>00181 TInt aTotalRecordsCount );<a name="l00182"></a>00182 <span class="comment"></span><a name="l00183"></a>00183 <span class="comment"> /**</span><a name="l00184"></a>00184 <span class="comment"> * AttributeRequestResultL()</span><a name="l00185"></a>00185 <span class="comment"> * Process the next attribute requested</span><a name="l00186"></a>00186 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00187"></a>00187 <span class="comment"> * @param aAttrID the id of the attribute</span><a name="l00188"></a>00188 <span class="comment"> * @param aAttrValue the value of the attribute</span><a name="l00189"></a>00189 <span class="comment"> */</span><a name="l00190"></a>00190 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#c2bd362f01ad7e4d671a33c062b42836">AttributeRequestResultL</a>( TSdpServRecordHandle aHandle, <a name="l00191"></a>00191 TSdpAttributeID aAttrID, <a name="l00192"></a>00192 CSdpAttrValue* aAttrValue );<a name="l00193"></a>00193 <span class="comment"></span><a name="l00194"></a>00194 <span class="comment"> /**</span><a name="l00195"></a>00195 <span class="comment"> * AttributeRequestCompleteL()</span><a name="l00196"></a>00196 <span class="comment"> * Process the arrtibute request completion</span><a name="l00197"></a>00197 <span class="comment"> * @param aHandle the handle of the service record</span><a name="l00198"></a>00198 <span class="comment"> * @param aError the error code</span><a name="l00199"></a>00199 <span class="comment"> */</span><a name="l00200"></a>00200 <span class="keywordtype">void</span> <a class="code" href="class_c_chat_bt_service_searcher.html#2a3dd55c534c57375233a15780a00ddf">AttributeRequestCompleteL</a>( TSdpServRecordHandle, <a name="l00201"></a>00201 TInt aError );<a name="l00202"></a>00202 <a name="l00203"></a>00203 <span class="keyword">private</span>: <span class="comment">// data</span><a name="l00204"></a>00204 <span class="comment"></span><a name="l00205"></a>00205 <span class="comment"> /** </span><a name="l00206"></a>00206 <span class="comment"> * iStatusObserver pointer to the request status observer </span><a name="l00207"></a>00207 <span class="comment"> * Not owned by CChatBtServiceSearcher</span><a name="l00208"></a>00208 <span class="comment"> */</span><a name="l00209"></a><a class="code" href="class_c_chat_bt_service_searcher.html#f32d5de215f836de78f1fe4cfa4abd3e">00209</a> TRequestStatus* <a class="code" href="class_c_chat_bt_service_searcher.html#f32d5de215f836de78f1fe4cfa4abd3e">iStatusObserver</a>;<a name="l00210"></a>00210 <span class="comment"></span><a name="l00211"></a>00211 <span class="comment"> /** </span><a name="l00212"></a>00212 <span class="comment"> * iIsDeviceSelectorConnected is the device </span><a name="l00213"></a>00213 <span class="comment"> * selector connected? </span><a name="l00214"></a>00214 <span class="comment"> */</span><a name="l00215"></a><a class="code" href="class_c_chat_bt_service_searcher.html#b12a238c2f88a245d8e39cab2a45ecd3">00215</a> TBool <a class="code" href="class_c_chat_bt_service_searcher.html#b12a238c2f88a245d8e39cab2a45ecd3">iIsDeviceSelectorConnected</a>;<a name="l00216"></a>00216 <span class="comment"></span><a name="l00217"></a>00217 <span class="comment"> /** </span><a name="l00218"></a>00218 <span class="comment"> * iDeviceSelector </span><a name="l00219"></a>00219 <span class="comment"> * a handle to the bluetooth device selector notifier </span><a name="l00220"></a>00220 <span class="comment"> */</span><a name="l00221"></a><a class="code" href="class_c_chat_bt_service_searcher.html#94faf68cac3fade8ee2f1bed47731797">00221</a> RNotifier <a class="code" href="class_c_chat_bt_service_searcher.html#94faf68cac3fade8ee2f1bed47731797">iDeviceSelector</a>;<a name="l00222"></a>00222 <span class="comment"></span><a name="l00223"></a>00223 <span class="comment"> /** </span><a name="l00224"></a>00224 <span class="comment"> * iResponse </span><a name="l00225"></a>00225 <span class="comment"> * the response of the device selection.</span><a name="l00226"></a>00226 <span class="comment"> */</span><a name="l00227"></a><a class="code" href="class_c_chat_bt_service_searcher.html#1bc4023d1979b118a3439ecdd2f4eb6e">00227</a> TBTDeviceResponseParamsPckg <a class="code" href="class_c_chat_bt_service_searcher.html#1bc4023d1979b118a3439ecdd2f4eb6e">iResponse</a>;<a name="l00228"></a>00228 <span class="comment"></span><a name="l00229"></a>00229 <span class="comment"> /**</span><a name="l00230"></a>00230 <span class="comment"> * iSelectionFilter</span><a name="l00231"></a>00231 <span class="comment"> * Request a device selection </span><a name="l00232"></a>00232 <span class="comment"> */</span><a name="l00233"></a><a class="code" href="class_c_chat_bt_service_searcher.html#95c436ce759ce06570375f9f34a324e0">00233</a> TBTDeviceSelectionParamsPckg <a class="code" href="class_c_chat_bt_service_searcher.html#95c436ce759ce06570375f9f34a324e0">iSelectionFilter</a>;<span class="comment"></span><a name="l00234"></a>00234 <span class="comment"> /** </span><a name="l00235"></a>00235 <span class="comment"> * iAgent a connetction to the SDP client </span><a name="l00236"></a>00236 <span class="comment"> * Owned by CChatBtServiceSearcher</span><a name="l00237"></a>00237 <span class="comment"> */</span><a name="l00238"></a><a class="code" href="class_c_chat_bt_service_searcher.html#bf29ee7811a264162e45114d4eba89b7">00238</a> CSdpAgent* <a class="code" href="class_c_chat_bt_service_searcher.html#bf29ee7811a264162e45114d4eba89b7">iAgent</a>;<a name="l00239"></a>00239 <span class="comment"></span><a name="l00240"></a>00240 <span class="comment"> /** </span><a name="l00241"></a>00241 <span class="comment"> * iSdpSearchPattern a search pattern </span><a name="l00242"></a>00242 <span class="comment"> * Owned by CChatBtServiceSearcher</span><a name="l00243"></a>00243 <span class="comment"> */</span><a name="l00244"></a><a class="code" href="class_c_chat_bt_service_searcher.html#00b02ec3d0048bbffaec9a5a74ba1898">00244</a> CSdpSearchPattern* <a class="code" href="class_c_chat_bt_service_searcher.html#00b02ec3d0048bbffaec9a5a74ba1898">iSdpSearchPattern</a>;<a name="l00245"></a>00245 <span class="comment"></span><a name="l00246"></a>00246 <span class="comment"> /** </span><a name="l00247"></a>00247 <span class="comment"> * iHasFoundService has the service been found ? </span><a name="l00248"></a>00248 <span class="comment"> */</span><a name="l00249"></a><a class="code" href="class_c_chat_bt_service_searcher.html#407431dfc0629433a93901ecf8326200">00249</a> TBool <a class="code" href="class_c_chat_bt_service_searcher.html#407431dfc0629433a93901ecf8326200">iHasFoundService</a>;<a name="l00250"></a>00250 <span class="comment"></span><a name="l00251"></a>00251 <span class="comment"> /** </span><a name="l00252"></a>00252 <span class="comment"> * iLog the log to send output to </span><a name="l00253"></a>00253 <span class="comment"> */</span><a name="l00254"></a><a class="code" href="class_c_chat_bt_service_searcher.html#9d387bbae93f2ae894f3e1c32e6bf1c6">00254</a> <a class="code" href="class_m_log.html">MLog</a>& <a class="code" href="class_c_chat_bt_service_searcher.html#9d387bbae93f2ae894f3e1c32e6bf1c6">iLog</a>;<a name="l00255"></a>00255 };<a name="l00256"></a>00256 <a name="l00257"></a>00257 <span class="preprocessor">#endif // CHATBTSERVICESEARCHER_H</span><a name="l00258"></a>00258 <span class="preprocessor"></span><a name="l00259"></a>00259 <span class="comment">// End of File</span></pre></div><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -