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