bluetoothengine/bteng/src/btengsrvsession.cpp
changeset 19 43824b19ee35
parent 15 00f9ee97d895
child 32 19bd632b5100
--- a/bluetoothengine/bteng/src/btengsrvsession.cpp	Mon May 03 12:40:50 2010 +0300
+++ b/bluetoothengine/bteng/src/btengsrvsession.cpp	Fri May 14 16:01:46 2010 +0300
@@ -21,7 +21,6 @@
 #include "btengsrvsession.h"
 #include "btengserver.h"
 #include "btengsrvbbconnectionmgr.h"
-#include "btengpairman.h"
 #include "btengsrvsettingsmgr.h"
 #include "btengclientserver.h"
 #include "debug.h"
@@ -158,7 +157,6 @@
     if( !aMessage.IsNull() &&
         ( err || 
           ( aMessage.Function() != EBTEngNotifyConnectionEvents && 
-            aMessage.Function() != EBTEngPairDevice &&
             aMessage.Function() != EBTEngSetPowerState ) ) )
         {
             // Return the error code to the client.
@@ -258,25 +256,6 @@
             Server()->BasebandConnectionManager()->ManageTopology( ETrue );
             }
             break;
-        case EBTEngSetPairingObserver:
-            {
-            CheckPowerOnL();
-            // Simply forward it to the pairing manager
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
-        case EBTEngPairDevice:
-            {
-            CheckPowerOnL();
-            // Simply forward it to the pairing manager
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
-        case EBTEngCancelPairDevice:
-            {
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
         default:
             {
             TRACE_INFO( ( _L( "[BTENG]\t DispatchMessageL: bad request (%d)" ), aMessage.Function() ) )