coreapplicationuis/SysAp/Inc/sysapbatteryinfocontroller.h
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
    20 #define SYSAPBATTERYINFOCONTROLLER_H
    20 #define SYSAPBATTERYINFOCONTROLLER_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 
    23 
    24 class CBSUtil;
    24 class CBSUtil;
    25 // class CBatteryPopupControl;
    25 class CBatteryPopupControl;
    26 
    26 
    27 /**
    27 /**
    28  *  Controller for enhanced battery information.
    28  *  Controller for enhanced battery information.
    29  *
    29  *
    30  *  @lib None.
    30  *  @lib None.
    99      *
    99      *
   100      * @see KHWRMBatteryStatus
   100      * @see KHWRMBatteryStatus
   101      */
   101      */
   102      void BatteryStatusUpdated( const TInt aValue );
   102      void BatteryStatusUpdated( const TInt aValue );
   103 
   103 
       
   104      /**
       
   105      * Check if battery status is above the threshold level 
       
   106      *
       
   107      */
       
   108      TBool IsBatteryInfoAboveThreshold() const;
       
   109 
   104 private:
   110 private:
   105 
   111 
   106     /**
   112     /**
   107     * C++ default constructor.
   113     * C++ default constructor.
   108     */
   114     */
   149     
   155     
   150     /**
   156     /**
   151     * Battery popup control.
   157     * Battery popup control.
   152     * Own.
   158     * Own.
   153     */
   159     */
   154     // CBatteryPopupControl* iBatteryPopup;
   160     CBatteryPopupControl* iBatteryPopup;
   155     };
   161     };
   156 
   162 
   157 
   163 
   158 #endif // SYSAPBATTERYINFOCONTROLLER_H
   164 #endif // SYSAPBATTERYINFOCONTROLLER_H