equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * ============================================================================ |
15 * ============================================================================ |
16 * Name : basrvaccman.h |
16 * Name : basrvaccman.h |
17 * Part of : BTEng / Bluetooth Accessory Server |
17 * Part of : BTEng / Bluetooth Accessory Server |
18 * Description : |
18 * Description : |
19 * Version : %version: 3.1.4.1.2.2.11 % |
19 * Version : %version: 3.1.4.1.2.2.13 % |
20 * |
20 * |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 #ifndef C_BTASRVACCMAN_H |
24 #ifndef C_BTASRVACCMAN_H |
98 void NotifyClientNewProfile(TInt aProfile, const TBTDevAddr& aAddr); |
98 void NotifyClientNewProfile(TInt aProfile, const TBTDevAddr& aAddr); |
99 void NotifyClientNoProfile(TInt aProfile, const TBTDevAddr& aAddr); |
99 void NotifyClientNoProfile(TInt aProfile, const TBTDevAddr& aAddr); |
100 |
100 |
101 TBTEngConnectionStatus ConnectionStatus4Client(const TBTDevAddr& aAddr) const; |
101 TBTEngConnectionStatus ConnectionStatus4Client(const TBTDevAddr& aAddr) const; |
102 |
102 |
103 // For DosServer version only |
|
104 void AudioToPhone(CBasrvAudio4Dos& aAudio4Dos); |
|
105 void AudioToAccessory(CBasrvAudio4Dos& aAudio4Dos); |
|
106 |
|
107 TBool IsAvrcpVolCTSupported(); |
103 TBool IsAvrcpVolCTSupported(); |
108 TBool IsAbsoluteVolumeSupported(const TBTDevAddr& aAddr); |
104 TBool IsAbsoluteVolumeSupported(const TBTDevAddr& aAddr); |
109 TBool DisconnectIfAudioOpenFails(); |
105 TBool DisconnectIfAudioOpenFails(); |
110 |
106 |
111 private: // From MBTAccObserver |
107 private: // From MBTAccObserver |
151 * @since S60 v3.1 |
147 * @since S60 v3.1 |
152 * @param aActive the Active Object to which the request is assigned to. |
148 * @param aActive the Active Object to which the request is assigned to. |
153 */ |
149 */ |
154 void CancelRequest(CBasrvActive& aActive); |
150 void CancelRequest(CBasrvActive& aActive); |
155 |
151 |
|
152 private: |
|
153 void DoShowNoteL(TBTGenericInfoNoteType aNote, const TBTDevAddr& aAddr); |
|
154 |
156 protected: |
155 protected: |
157 /** |
156 /** |
158 * Default constructor |
157 * Default constructor |
159 */ |
158 */ |
160 CBasrvAccMan(); |
159 CBasrvAccMan(); |
162 void ConstructL(); |
161 void ConstructL(); |
163 |
162 |
164 void HandleNewAudioRequestL(); |
163 void HandleNewAudioRequestL(); |
165 |
164 |
166 void DoAudioRequestL(); |
165 void DoAudioRequestL(); |
167 |
|
168 void DestructVariant(); |
|
169 |
166 |
170 TInt FindAcc(const TBTDevAddr& aRemote) const; |
167 TInt FindAcc(const TBTDevAddr& aRemote) const; |
171 |
168 |
172 TInt AudioLinkStatus(); |
169 TInt AudioLinkStatus(); |
173 |
170 |