bluetoothengine/bteng/inc/btengsrvbbconnectionmgr.h
branchRCL_3
changeset 16 b23265fb36da
parent 0 f63038272f30
child 19 43824b19ee35
equal deleted inserted replaced
14:f7fbeaeb166a 16:b23265fb36da
    24 
    24 
    25 #include <bt_sock.h>
    25 #include <bt_sock.h>
    26 
    26 
    27 #include "btengactive.h"
    27 #include "btengactive.h"
    28 
    28 
    29 class CBTEngActive;
    29 class CBTEngServer;
    30 
    30 
    31 /**  ?description */
    31 /**  ?description */
    32 //const ?type ?constant_var = ?constant;
    32 //const ?type ?constant_var = ?constant;
    33 
    33 
    34 
    34 
    48 public:
    48 public:
    49 
    49 
    50     /**
    50     /**
    51      * Two-phase constructor
    51      * Two-phase constructor
    52      */
    52      */
    53     static CBTEngSrvBBConnMgr* NewL(RSocketServ& aSockServ);
    53     static CBTEngSrvBBConnMgr* NewL(CBTEngServer* aServer, RSocketServ& aSockServ);
    54 
    54 
    55     /**
    55     /**
    56      * Destructor
    56      * Destructor
    57      */
    57      */
    58     virtual ~CBTEngSrvBBConnMgr();
    58     virtual ~CBTEngSrvBBConnMgr();
    97      * @param ?arg2 ?description
    97      * @param ?arg2 ?description
    98      * @return ?description
    98      * @return ?description
    99      */
    99      */
   100     void DisconnectAllLinksL( TCallBack& aCallBack );
   100     void DisconnectAllLinksL( TCallBack& aCallBack );
   101 
   101 
       
   102     void DisconnectAllLinksForPowerOffL( TCallBack& aCallBack );
       
   103 
       
   104     
   102     /**
   105     /**
   103      * Indicate to turn off BT when idle.
   106      * Indicate to turn off BT when idle.
   104      *
   107      *
   105      * @since S60 v5.0
   108      * @since S60 v5.0
   106      * @param aEnable Enable or disable automatic power off.
   109      * @param aEnable Enable or disable automatic power off.
   167 private:
   170 private:
   168 
   171 
   169     /**
   172     /**
   170      * C++ default constructor
   173      * C++ default constructor
   171      */
   174      */
   172     CBTEngSrvBBConnMgr(RSocketServ& aSockServ);
   175     CBTEngSrvBBConnMgr(CBTEngServer* aServer, RSocketServ& aSockServ);
   173 
   176 
   174     /**
   177     /**
   175      * Symbian 2nd-phase constructor
   178      * Symbian 2nd-phase constructor
   176      */
   179      */
   177     void ConstructL();
   180     void ConstructL();
   232     /**
   235     /**
   233      * Callback function to call when disconnecting all links has completed.
   236      * Callback function to call when disconnecting all links has completed.
   234      * Not own.
   237      * Not own.
   235      */
   238      */
   236     TCallBack iCallBack;
   239     TCallBack iCallBack;
   237 
   240     
       
   241     /**
       
   242      * Pointer to our parent.
       
   243      * Not own.
       
   244      */
       
   245     CBTEngServer* iServer;
       
   246     
   238     };
   247     };
   239 
   248 
   240 
   249 
   241 #endif // BTENGSRVBBCONNECTIONMGR_H
   250 #endif // BTENGSRVBBCONNECTIONMGR_H