equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-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". |
21 |
21 |
22 #include <bt_sock.h> |
22 #include <bt_sock.h> |
23 #include <btengconstants.h> |
23 #include <btengconstants.h> |
24 |
24 |
25 class CBTEngConnHandler; |
25 class CBTEngConnHandler; |
|
26 class CBTEngPairingHandler; |
26 |
27 |
27 /** |
28 /** |
28 * Class MBTEngConnObserver |
29 * Class MBTEngConnObserver |
29 * |
30 * |
30 * Callback class for receiving CBTEngConnMan |
31 * Callback class for receiving CBTEngConnMan |
87 * @param aAddr The address of the remote device. |
88 * @param aAddr The address of the remote device. |
88 * @param aErr The error code indicating the result of the pairing |
89 * @param aErr The error code indicating the result of the pairing |
89 * procedure; KErrNone for a normal disconnection, or |
90 * procedure; KErrNone for a normal disconnection, or |
90 * e.g. KErrCancel if the user cancelled the pairing dialog. |
91 * e.g. KErrCancel if the user cancelled the pairing dialog. |
91 */ |
92 */ |
92 virtual void PairingComplete( TBTDevAddr& aAddr, TInt aErr ); |
93 IMPORT_C virtual void PairingComplete( TBTDevAddr& aAddr, TInt aErr ); |
93 |
94 |
94 }; |
95 }; |
95 |
96 |
96 |
97 |
97 /** |
98 /** |
447 * Own. |
448 * Own. |
448 */ |
449 */ |
449 CBTEngConnHandler* iConnHandler; |
450 CBTEngConnHandler* iConnHandler; |
450 |
451 |
451 /** |
452 /** |
452 * This field is NOT used. Reserved for future extension. |
453 * For handling pairing requests |
453 * Own. |
454 * Own. |
454 */ |
455 */ |
455 TAny* iReserved; |
456 CBTEngPairingHandler* iPairingHandler; |
456 |
457 |
457 /** |
458 /** |
458 * Reference to receiver of connection events. |
459 * Reference to receiver of connection events. |
459 * Not own. |
460 * Not own. |
460 */ |
461 */ |