equal
deleted
inserted
replaced
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
50 class CVendorSAP; |
50 class CVendorSAP; |
51 class CHCIDirectAccessSAPsManager; |
51 class CHCIDirectAccessSAPsManager; |
52 class CEirManServer; |
52 class CEirManServer; |
53 class CEirPublisherTxPowerLevel; |
53 class CEirPublisherTxPowerLevel; |
54 class CEirPublisherLocalName; |
54 class CEirPublisherLocalName; |
|
55 class CBrEdrControllerConfiguration; |
55 |
56 |
56 NONSHARABLE_CLASS(CRegistrySession) |
57 NONSHARABLE_CLASS(CRegistrySession) |
57 : public CBase |
58 : public CBase |
58 { |
59 { |
59 friend class CLinkMgrProtocol; |
60 friend class CLinkMgrProtocol; |
163 inline CACLLinkStateFactory& ACLStateFactory() const; |
164 inline CACLLinkStateFactory& ACLStateFactory() const; |
164 inline CSyncLinkStateFactory& SyncStateFactory() const; |
165 inline CSyncLinkStateFactory& SyncStateFactory() const; |
165 |
166 |
166 // later - change local device management/notification to be nicer... |
167 // later - change local device management/notification to be nicer... |
167 inline const TBTLocalDevice& LocalDevice() const; |
168 inline const TBTLocalDevice& LocalDevice() const; |
|
169 inline TBTTrackedLocalDevice& DesiredLocalDeviceSettings(); |
168 void UpdateLocalDeviceName(const TDesC8& aName); |
170 void UpdateLocalDeviceName(const TDesC8& aName); |
169 void UpdateLocalDeviceName(TBool aSucceeded); |
171 void UpdateLocalDeviceName(TBool aSucceeded); |
170 void UpdateLocalDevicePower(TBTPowerState aState); |
172 void UpdateLocalDevicePower(TBTPowerState aState); |
171 void UpdateLocalDeviceScanEnable(TBool aSucceeded); |
173 void UpdateLocalDeviceScanEnable(TBool aSucceeded); |
172 void UpdateDeviceClass(TBool aSucceeded); |
174 void UpdateDeviceClass(TBool aSucceeded); |
185 void SetAFHChannelAssessmentModeL(TBool aMode); |
187 void SetAFHChannelAssessmentModeL(TBool aMode); |
186 void SetAFHHostChannelClassificationL(const TBTAFHHostChannelClassification& aChannelClassification); |
188 void SetAFHHostChannelClassificationL(const TBTAFHHostChannelClassification& aChannelClassification); |
187 void SetUIConnecting(TBool aConnecting); |
189 void SetUIConnecting(TBool aConnecting); |
188 void SetUINumPhysicalLinks(TUint aNum); |
190 void SetUINumPhysicalLinks(TUint aNum); |
189 void SetUINumSynchronousLinks(TUint aNum); |
191 void SetUINumSynchronousLinks(TUint aNum); |
|
192 void SetPageScanParameters(TPageScanParameterSettings aPageScanParameters); |
190 |
193 |
191 inline CHCIFacade& HCIFacade() const; |
194 inline CHCIFacade& HCIFacade() const; |
192 inline CBTInquiryMgr& InquiryMgr() const; |
195 inline CBTInquiryMgr& InquiryMgr() const; |
193 inline CLinkMuxer& LinkMuxer() const; |
196 inline CLinkMuxer& LinkMuxer() const; |
194 inline CACLDataQController& ACLController() const; |
197 inline CACLDataQController& ACLController() const; |
243 |
246 |
244 CRegistrySession* iRegSess; // owns an RBTRegServ for sharing. |
247 CRegistrySession* iRegSess; // owns an RBTRegServ for sharing. |
245 RBTLocalDevice iLocalDevice; //subsession |
248 RBTLocalDevice iLocalDevice; //subsession |
246 TBTTrackedLocalDevice iLocalDeviceSettings; |
249 TBTTrackedLocalDevice iLocalDeviceSettings; |
247 TBTLocalDevice iPendingLocalDeviceSettings; |
250 TBTLocalDevice iPendingLocalDeviceSettings; |
|
251 TBTTrackedLocalDevice iDesiredLocalDeviceSettings; |
248 |
252 |
249 RProperty iProperty; |
253 RProperty iProperty; |
250 |
254 |
251 CBTInquiryMgr* iInquiryMgr; |
255 CBTInquiryMgr* iInquiryMgr; |
252 CHCIFacade* iHCIFacade; |
256 CHCIFacade* iHCIFacade; |
253 CLinkMuxer* iLinkMuxer; |
257 CLinkMuxer* iLinkMuxer; |
254 CEirManServer* iEirManServer; |
258 CEirManServer* iEirManServer; |
|
259 |
|
260 CBrEdrControllerConfiguration* iBrEdrControllerConfiguration; |
255 |
261 |
256 CACLLinkStateFactory* iACLStateFactory; |
262 CACLLinkStateFactory* iACLStateFactory; |
257 CSyncLinkStateFactory* iSCOStateFactory; |
263 CSyncLinkStateFactory* iSCOStateFactory; |
258 |
264 |
259 RPointerArray<CSubscriber> iSubscribers; |
265 RPointerArray<CSubscriber> iSubscribers; |
309 inline const TBTLocalDevice& CLinkMgrProtocol::LocalDevice() const |
315 inline const TBTLocalDevice& CLinkMgrProtocol::LocalDevice() const |
310 { |
316 { |
311 return iLocalDeviceSettings; |
317 return iLocalDeviceSettings; |
312 } |
318 } |
313 |
319 |
|
320 inline TBTTrackedLocalDevice& CLinkMgrProtocol::DesiredLocalDeviceSettings() |
|
321 { |
|
322 return iDesiredLocalDeviceSettings; |
|
323 } |
|
324 |
|
325 |
314 inline CBTInquiryMgr& CLinkMgrProtocol::InquiryMgr() const |
326 inline CBTInquiryMgr& CLinkMgrProtocol::InquiryMgr() const |
315 { |
327 { |
316 return *iInquiryMgr; |
328 return *iInquiryMgr; |
317 } |
329 } |
318 |
330 |