equal
deleted
inserted
replaced
27 |
27 |
28 class CBTNotifConnectionTracker; |
28 class CBTNotifConnectionTracker; |
29 class CBTNotifSettingsTracker; |
29 class CBTNotifSettingsTracker; |
30 class CBTNotificationManager; |
30 class CBTNotificationManager; |
31 class CBTNotifDeviceSelector; |
31 class CBTNotifDeviceSelector; |
|
32 class CBTNotifGenInfoNotifier; |
|
33 class CBTNotifPowerNotifier; |
32 class CBtDevRepository; |
34 class CBtDevRepository; |
33 |
35 |
34 class CbtnotifServerTest; // ToDo: shall be refactored under compile flag? |
36 class CbtnotifServerTest; // ToDo: shall be refactored under compile flag? |
35 |
37 |
36 /** |
38 /** |
143 { return iNotificationMgr; } |
145 { return iNotificationMgr; } |
144 |
146 |
145 CBtDevRepository& DevRepository(); |
147 CBtDevRepository& DevRepository(); |
146 |
148 |
147 CBTNotifDeviceSelector& DeviceSelectorL(); |
149 CBTNotifDeviceSelector& DeviceSelectorL(); |
|
150 |
|
151 /** |
|
152 * Returns a handle to the Generic info notifier. |
|
153 * |
|
154 * @since Symbian^4 |
|
155 * @param Pointer to the Generic info notifier. |
|
156 */ |
|
157 inline CBTNotifGenInfoNotifier* GenericInfoNotifier() const |
|
158 { return iGenInfoNotifier; } |
148 |
159 |
149 // from base class CPolicyServer |
160 // from base class CPolicyServer |
150 |
161 |
151 /** |
162 /** |
152 * From CPolicyServer. |
163 * From CPolicyServer. |
157 * @param aMessage Represents the details of the client request that |
168 * @param aMessage Represents the details of the client request that |
158 * is requesting the creation of the session. |
169 * is requesting the creation of the session. |
159 * @return A pointer to the newly created server-side session object. |
170 * @return A pointer to the newly created server-side session object. |
160 */ |
171 */ |
161 virtual CSession2* NewSessionL( const TVersion& aVersion, const RMessage2& aMessage ) const; |
172 virtual CSession2* NewSessionL( const TVersion& aVersion, const RMessage2& aMessage ) const; |
162 |
173 |
|
174 /** |
|
175 * Returns a handle to the BT poser notifier. |
|
176 * @since Symbian^4 |
|
177 * @return A pointer to the newly created server-side session object. |
|
178 */ |
|
179 inline CBTNotifPowerNotifier* BTPowerNotifier() const |
|
180 { return iBTPowerNotifier; } |
|
181 |
163 private: |
182 private: |
164 |
183 |
165 CBTNotifServer(); |
184 CBTNotifServer(); |
166 |
185 |
167 void ConstructL(); |
186 void ConstructL(); |
226 /** |
245 /** |
227 * Helper class for device searching and selection. |
246 * Helper class for device searching and selection. |
228 * Own. |
247 * Own. |
229 */ |
248 */ |
230 CBTNotifDeviceSelector* iDevSelector; |
249 CBTNotifDeviceSelector* iDevSelector; |
|
250 |
|
251 /** |
|
252 * Generic info notifier. |
|
253 */ |
|
254 CBTNotifGenInfoNotifier* iGenInfoNotifier; |
231 |
255 |
232 /** |
256 /** |
233 * Callback for asynchronous processing. |
257 * Callback for asynchronous processing. |
234 * Own. |
258 * Own. |
235 */ |
259 */ |
244 /** |
268 /** |
245 * The function entry of shutdown timeout. |
269 * The function entry of shutdown timeout. |
246 */ |
270 */ |
247 TDeltaTimerEntry iShutdownTimerEntry; |
271 TDeltaTimerEntry iShutdownTimerEntry; |
248 |
272 |
|
273 /** |
|
274 * BT power notifier |
|
275 */ |
|
276 CBTNotifPowerNotifier* iBTPowerNotifier; |
|
277 |
249 BTUNITTESTHOOK |
278 BTUNITTESTHOOK |
250 |
279 |
251 }; |
280 }; |
252 |
281 |
253 #endif // BTNOTIFSERVER_H |
282 #endif // BTNOTIFSERVER_H |