bluetoothengine/bteng/inc/btengsrvsession.h
branchRCL_3
changeset 10 0707dd69d236
parent 0 f63038272f30
equal deleted inserted replaced
6:6a29d5ad0713 10:0707dd69d236
    71      */
    71      */
    72     void NotifyConnectionEvent( const TBTDevAddr aAddr, 
    72     void NotifyConnectionEvent( const TBTDevAddr aAddr, 
    73                                  TBTEngConnectionStatus aConnStatus, 
    73                                  TBTEngConnectionStatus aConnStatus, 
    74                                  RBTDevAddrArray* aArray, TInt aErr );
    74                                  RBTDevAddrArray* aArray, TInt aErr );
    75 
    75 
    76     /**
       
    77      * Completes client's pairing request.
       
    78      * @param aResult the resultof pairing the client will receive.
       
    79      */
       
    80     TInt CompletePairRequest( TInt aResult );
       
    81     
       
    82 private: // from base class CSession2
    76 private: // from base class CSession2
    83 
    77 
    84     /**
    78     /**
    85      * From CSession2.
    79      * From CSession2.
    86      * Processes a message from a client.
    80      * Processes a message from a client.
   129      * @param aMessage The message containing the details of the client request.
   123      * @param aMessage The message containing the details of the client request.
   130      */
   124      */
   131     void DispatchMessageL( const RMessage2& aMessage );
   125     void DispatchMessageL( const RMessage2& aMessage );
   132 
   126 
   133     /**
   127     /**
   134      * Cancels outstanding pairing request.
   128      * Cancels outstanding request.
   135      */
   129      */
   136     void CancelPairRequest();
   130     void CancelRequest();
   137     
   131 
       
   132     /**
       
   133      * Checks if power is on, and leaves with error KErrNotReady if not.
       
   134      */
       
   135     void CheckPowerOnL();
       
   136 
   138 private: // data
   137 private: // data
       
   138 
   139     /**
   139     /**
   140      * Client-server message containing the thread handle of the client.
   140      * Client-server message containing the thread handle of the client.
   141      * For connection notifications.
   141      * For connection notifications.
   142      */
   142      */
   143     RMessage2 iNotifyConnMessage;
   143     RMessage2 iNotifyConnMessage;
   144 
       
   145     /**
       
   146      * For connection notifications.
       
   147      * For outgoing pairing request.
       
   148      */
       
   149     RMessage2 iPairMessage;
       
   150     
   144     
   151     /**
   145     /**
   152      * Flag indicating if this client requested BT to be switched on temporarily.
   146      * Flag indicating if this client requested BT to be switched on temporarily.
   153      */
   147      */
   154     TBool iAutoSwitchOff;
   148     TBool iAutoSwitchOff;