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