bluetoothengine/btnotif/inc/btnotifier.h
branchRCL_3
changeset 20 2f88a7d66f50
parent 13 b6f55cd40afd
child 53 eede1356aa52
equal deleted inserted replaced
16:b23265fb36da 20:2f88a7d66f50
    65         /**
    65         /**
    66         * Destructor.
    66         * Destructor.
    67         */
    67         */
    68         virtual ~CBTNotifierBase();
    68         virtual ~CBTNotifierBase();
    69 
    69 
       
    70         /**
       
    71         * A utility function for checking whether autolock is on.
       
    72         * @param None.
       
    73         * @return A boolean according to autolock state.
       
    74         */
       
    75         TBool AutoLockOnL();
       
    76         
    70     protected: // Constructors and destructor
    77     protected: // Constructors and destructor
    71 
    78 
    72         /**
    79         /**
    73         * C++ default constructor.
    80         * C++ default constructor.
    74         */
    81         */
    76 
    83 
    77         /**
    84         /**
    78         * Symbian 2nd phase constructor.
    85         * Symbian 2nd phase constructor.
    79         */
    86         */
    80         virtual void ConstructL();
    87         virtual void ConstructL();
       
    88         
       
    89 
    81 
    90 
    82     protected: // New functions
    91     protected: // New functions
    83 
    92 
    84         /**
    93         /**
    85         * Used in asynchronous notifier launch to store received parameters 
    94         * Used in asynchronous notifier launch to store received parameters 
    90         * @return None.
    99         * @return None.
    91         */
   100         */
    92         virtual void GetParamsL(const TDesC8& aBuffer, 
   101         virtual void GetParamsL(const TDesC8& aBuffer, 
    93                                 TInt aReplySlot, 
   102                                 TInt aReplySlot, 
    94                                 const RMessagePtr2& aMessage)=0;
   103                                 const RMessagePtr2& aMessage)=0;
    95 
       
    96         /**
       
    97         * A utility function for checking whether autolock is on.
       
    98         * @param None.
       
    99         * @return A boolean according to autolock state.
       
   100         */
       
   101         TBool AutoLockOnL();
       
   102 
   104 
   103         /**
   105         /**
   104         * A utility function for setting the power status of Bluetooth.
   106         * A utility function for setting the power status of Bluetooth.
   105         * If the power is not on the user will be presented a query.
   107         * If the power is not on the user will be presented a query.
   106         * @return ETrue if BT is turned on successfully; EFalse otherwise
   108         * @return ETrue if BT is turned on successfully; EFalse otherwise