27 #include "btengprivatecrkeys.h" |
27 #include "btengprivatecrkeys.h" |
28 #include "btengconstants.h" |
28 #include "btengconstants.h" |
29 #include "btengactive.h" |
29 #include "btengactive.h" |
30 |
30 |
31 class CBTEngServer; |
31 class CBTEngServer; |
32 class CHbIndicatorSymbian; |
|
33 |
32 |
34 |
33 |
35 /** |
34 /** |
36 * ?one_line_short_description |
35 * ?one_line_short_description |
37 * ?more_complete_description |
36 * ?more_complete_description |
129 */ |
127 */ |
130 void SetUiIndicatorsL(); |
128 void SetUiIndicatorsL(); |
131 |
129 |
132 /** |
130 /** |
133 * ?description |
131 * ?description |
134 * |
132 * |
135 * @param aState Current State of the Bluetooth |
133 * @since S60 v3.2 |
|
134 * @param ?arg1 ?description |
136 */ |
135 */ |
137 void SetIndicatorStateL( const TInt aState ); |
136 void SetIndicatorStateL( const TInt aIndicator, const TInt aState ); |
138 |
137 |
139 /** |
138 /** |
140 * Update the Bluetooth visibility mode. |
139 * Update the Bluetooth visibility mode. |
141 * |
140 * |
142 * @since Symbian^3 |
141 * @since Symbian^3 |
143 * @param ?arg1 ?description |
142 * @param ?arg1 ?description |
198 * From MBTEngActiveObserver. |
197 * From MBTEngActiveObserver. |
199 * Callback to notify that an outstanding request has completed. |
198 * Callback to notify that an outstanding request has completed. |
200 * |
199 * |
201 * @since Symbian^3 |
200 * @since Symbian^3 |
202 * @param aActive Pointer to the active object that completed. |
201 * @param aActive Pointer to the active object that completed. |
|
202 * @param aId The ID that identifies the outstanding request. |
203 * @param aStatus The status of the completed request. |
203 * @param aStatus The status of the completed request. |
204 */ |
204 */ |
205 virtual void RequestCompletedL( CBTEngActive* aActive, TInt aStatus ); |
205 virtual void RequestCompletedL( CBTEngActive* aActive, TInt aId, TInt aStatus ); |
206 |
206 |
207 /** |
|
208 * Callback for handling cancelation of an outstanding request. |
|
209 * |
|
210 * @param aId The ID that identifies the outstanding request. |
|
211 */ |
|
212 virtual void CancelRequest( TInt aRequestId ); |
|
213 |
|
214 /** |
207 /** |
215 * From MBTEngActiveObserver. |
208 * From MBTEngActiveObserver. |
216 * Callback to notify that an error has occurred in RunL. |
209 * Callback to notify that an error has occurred in RunL. |
217 * |
210 * |
218 * @since Symbian^3 |
211 * @since Symbian^3 |
219 * @param aActive Pointer to the active object that completed. |
212 * @param aActive Pointer to the active object that completed. |
|
213 * @param aId The ID that identifies the outstanding request. |
220 * @param aStatus The status of the completed request. |
214 * @param aStatus The status of the completed request. |
221 */ |
215 */ |
222 virtual void HandleError( CBTEngActive* aActive, TInt aError ); |
216 virtual void HandleError( CBTEngActive* aActive, TInt aId, TInt aError ); |
223 |
217 |
224 private: |
218 private: |
225 |
219 |
226 /** |
220 /** |
227 * C++ default constructor. |
221 * C++ default constructor. |
249 * @param aCurrentState On return, will contain the current power state. |
243 * @param aCurrentState On return, will contain the current power state. |
250 * @param aNewState The requested power state. |
244 * @param aNewState The requested power state. |
251 * @param aTemporary Indicates if this is about a tempororary state change. |
245 * @param aTemporary Indicates if this is about a tempororary state change. |
252 */ |
246 */ |
253 void CheckTemporaryPowerStateL( TBTPowerState& aCurrentState, |
247 void CheckTemporaryPowerStateL( TBTPowerState& aCurrentState, |
254 TBTPowerState aNewState, TBool aTemporary ); |
248 TBTPowerState aNewState, TBool aTemporary ); |
255 |
249 |
256 private: // data |
250 private: // data |
257 |
251 |
258 #ifdef __WINS__ |
252 #ifdef __WINS__ |
259 /** |
253 /** |