bluetoothengine/btnotif/btnotifclient/src/btnotifclient.cpp
changeset 31 a0ea99b6fa53
parent 29 48ae3789ce00
equal deleted inserted replaced
30:df7a93ede42e 31:a0ea99b6fa53
   151 // ---------------------------------------------------------------------------
   151 // ---------------------------------------------------------------------------
   152 //
   152 //
   153 EXPORT_C void RBTNotifier::PairDevice( const TBTDevAddrPckgBuf& aDevice, 
   153 EXPORT_C void RBTNotifier::PairDevice( const TBTDevAddrPckgBuf& aDevice, 
   154     TInt32 aDeviceClass, TRequestStatus& aStatus )
   154     TInt32 aDeviceClass, TRequestStatus& aStatus )
   155     {
   155     {
   156     SendReceive( EBTEngPairDevice,
   156     SendReceive( EBTNotifPairDevice,
   157                 TIpcArgs( (TInt) EBTEngPairDevice, &aDevice, aDeviceClass ), aStatus );
   157                 TIpcArgs( (TInt) EBTNotifPairDevice, &aDevice, aDeviceClass ), aStatus );
   158     }
   158     }
   159 
   159 
   160 // ---------------------------------------------------------------------------
   160 // ---------------------------------------------------------------------------
   161 // Cancel an ongoing pair request.
   161 // Cancel an ongoing pair request.
   162 // ---------------------------------------------------------------------------
   162 // ---------------------------------------------------------------------------
   163 //
   163 //
   164 EXPORT_C void RBTNotifier::CancelPairDevice()
   164 EXPORT_C void RBTNotifier::CancelPairDevice()
   165     {
   165     {
   166     (void) SendReceive( EBTEngCancelPairDevice );
   166     (void) SendReceive( EBTNotifCancelPairDevice );
   167     }
   167     }