diff -r 0ba996a9b75d -r 613943a21004 bluetoothengine/bteng/btengconnman/inc/btengconnhandler.h --- a/bluetoothengine/bteng/btengconnman/inc/btengconnhandler.h Thu Aug 19 10:05:41 2010 +0300 +++ b/bluetoothengine/bteng/btengconnman/inc/btengconnhandler.h Tue Aug 31 15:25:10 2010 +0300 @@ -146,18 +146,7 @@ * @since S60 v3.2 * @return ?description */ - TInt CancelNotifyConnectionEvents(); - - /** - * Set a pairing observer in BTEngine. - * - * @since S60 v3.2 - * @param aAddr The address of the remote device that is being paired. - * @param aActivate If ETrue, the observer will be activated, otherwise - * the observer will be removed. - * @return KErrNone on success, otherwise a system-wide error code. - */ - static TInt SetPairingObserver( const TBTDevAddr& aAddr, TBool aActivate ); + void CancelNotifyConnectionEvents(); /** * ?description @@ -166,22 +155,6 @@ * @return ?description */ inline TInt PrepareDiscovery(); - - - /** - * Pair a device - * - * @since S60 v5.1 - * @param aAddr the address of the device to pair with - * @param aDeviceClass the device class of the device to pair with - * @return KErrNone if this request has been accepted; an error situation otherwise. - */ - TInt StartPairing( const TBTDevAddr& aAddr, const TBTDeviceClass& aDeviceClass ); - - /** - * cancel the outstanding pairing request. - */ - void CancelPairing(); private: // from base class MBTEngActiveObserver @@ -192,15 +165,22 @@ * * @since S60 v3.2 */ - virtual void RequestCompletedL( CBTEngActive* aActive, TInt aId, TInt aStatus ); + virtual void RequestCompletedL( CBTEngActive* aActive, TInt aStatus ); /** + * Callback for handling cancelation of an outstanding request. + * + * @param aId The ID that identifies the outstanding request. + */ + virtual void CancelRequest( TInt aRequestId ); + + /** * From MBTEngActiveObserver. * Handles an error during processing of connection status event. * * @since S60 v3.2 */ - virtual void HandleError( CBTEngActive* aActive, TInt aId, TInt aError ); + virtual void HandleError( CBTEngActive* aActive, TInt aError ); private: @@ -222,16 +202,6 @@ * Client-server package to which the event result is copied. */ TBTEngEventPkg iEventPkg; - - /** - * Address of the remote device to pair with. - */ - TBTDevAddrPckgBuf iPairAddr; - - /** - * The CoD of the remote device to pair with. - */ - TUint32 iPairDevCod; /** * Session with BTEng server side. @@ -243,12 +213,6 @@ * Own. */ CBTEngActive* iConnEventActive; - - /** - * The actual active object for pairing a device. - * Own. - */ - CBTEngActive* iPairActive; /** * Reference to receiver of connection events.