equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
59 * Process commands relevant to pairing |
59 * Process commands relevant to pairing |
60 */ |
60 */ |
61 void ProcessCommandL( const RMessage2& aMessage ); |
61 void ProcessCommandL( const RMessage2& aMessage ); |
62 |
62 |
63 /** |
63 /** |
64 * Cancels an outstanding command. |
|
65 * @param aOpcode the identifier of the command to be cancelled. |
|
66 */ |
|
67 void CancelCommand( TInt aOpCode ); |
|
68 |
|
69 /** |
|
70 * Handle a change in BTRegistry remote device table. |
64 * Handle a change in BTRegistry remote device table. |
71 * |
65 * |
72 * @since S60 v5.1 |
66 * @since S60 v5.1 |
73 */ |
67 */ |
74 void RemoteRegistryChangeDetected(); |
68 void RemoteRegistryChangeDetected(); |
99 * Be notified when handling of an outgoing pair has been completed. |
93 * Be notified when handling of an outgoing pair has been completed. |
100 * @param aErr the result of pairing |
94 * @param aErr the result of pairing |
101 * |
95 * |
102 */ |
96 */ |
103 void OutgoingPairCompleted( TInt aErr ); |
97 void OutgoingPairCompleted( TInt aErr ); |
|
98 |
|
99 /** |
|
100 * Be informed that a session will be closed. |
|
101 * |
|
102 * @since Symbian^3 |
|
103 * @param aSession the session to be cloased. |
|
104 */ |
|
105 void SessionClosed(CSession2* aSession ); |
104 |
106 |
105 /** |
107 /** |
106 * Unpair a device via registry |
108 * Unpair a device via registry |
107 */ |
109 */ |
108 void UnpairDevice( const TBTDevAddr& aAddr ); |
110 void UnpairDevice( const TBTDevAddr& aAddr ); |
161 |
163 |
162 /** |
164 /** |
163 * Symbian 2nd-phase constructor |
165 * Symbian 2nd-phase constructor |
164 */ |
166 */ |
165 void ConstructL(); |
167 void ConstructL(); |
|
168 |
|
169 /** |
|
170 * Initialiases the paired devices list |
|
171 */ |
|
172 void InitPairedDevicesList(); |
|
173 |
|
174 /** |
|
175 * Initialises the paired devices list (second stage) |
|
176 */ |
|
177 void DoInitPairedDevicesList(); |
166 |
178 |
167 /** |
179 /** |
168 * Activate / deactivate a pair observer |
180 * Activate / deactivate a pair observer |
169 */ |
181 */ |
170 TInt SetPairObserver(const TBTDevAddr& aAddr, TBool aActivate); |
182 TInt SetPairObserver(const TBTDevAddr& aAddr, TBool aActivate); |
311 /** |
323 /** |
312 * pair hanlder at the time. |
324 * pair hanlder at the time. |
313 * Own. |
325 * Own. |
314 */ |
326 */ |
315 CBTEngPairBase* iPairer; |
327 CBTEngPairBase* iPairer; |
|
328 |
|
329 /** |
|
330 * Client-server message for power change requests. |
|
331 */ |
|
332 RMessage2 iMessage; |
|
333 |
|
334 /** |
|
335 * AO for local address updates. |
|
336 */ |
|
337 CBTEngActive* iLocalAddrActive; |
|
338 |
|
339 /** |
|
340 * Provides access to the BT local device address. |
|
341 */ |
|
342 RProperty iPropertyLocalAddr; |
|
343 |
|
344 /** |
|
345 * Records whether or not this CBTEngPairMan has ever been involed in a pairing operaton. |
|
346 */ |
|
347 TBool iPairingOperationAttempted; |
|
348 |
|
349 /** |
|
350 * Counter of unhandled paired device view initialisation requests. |
|
351 */ |
|
352 TInt iNotHandledInitEventCounter; |
316 }; |
353 }; |
317 |
354 |
318 #endif /*BTENGPAIRMANAGER_H_*/ |
355 #endif /*BTENGPAIRMANAGER_H_*/ |