camerauis/cameraapp/generic/src/cambatterypanecontroller.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 62 f0c0788c4de2
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Implemantation for CCamBatteryPaneController class.
    14 * Description:  Implemantation for CCamBatteryPaneController class.
       
    15 *
       
    16 *  Copyright © 2007-2008 Nokia.  All rights reserved.
       
    17 *  This material, including documentation and any related computer
       
    18 *  programs, is protected by copyright controlled by Nokia.  All
       
    19 *  rights are reserved.  Copying, including reproducing, storing,
       
    20 *  adapting or translating, any or all of this material requires the
       
    21 *  prior written consent of Nokia.  This material also contains
       
    22 *  confidential information which may not be disclosed to others
       
    23 *  without the prior written consent of Nokia.
       
    24 
       
    25 *
    15 *
    26 *
    16 */
    27 */
    17 
    28 
    18 
    29 
    19 #include "cambatterypanecontroller.h"
    30 #include "cambatterypanecontroller.h"
   167     return ( ( iBatteryStrength >= 0 )&& ( iBatteryStrength <= 2 )
   178     return ( ( iBatteryStrength >= 0 )&& ( iBatteryStrength <= 2 )
   168             && !iRecharging );
   179             && !iRecharging );
   169     }
   180     }
   170 
   181 
   171 
   182 
   172 
       
   173 // ---------------------------------------------------------------------------
   183 // ---------------------------------------------------------------------------
   174 // CCamBatteryPaneController::SetBatteryStrength
   184 // CCamBatteryPaneController::SetBatteryStrength
   175 // ---------------------------------------------------------------------------
   185 // ---------------------------------------------------------------------------
   176 //
   186 //
   177 void CCamBatteryPaneController::SetBatteryStrength( TInt aStrength )
   187 void CCamBatteryPaneController::SetBatteryStrength( TInt aStrength )