camerauis/cameraapp/generic/inc/CamTimeLapseUtility.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Setting page for Image/Video quality.*
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef CAMTIMELAPSEUTILITY_H
       
    19 #define CAMTIMELAPSEUTILITY_H
       
    20 
       
    21 //  INCLUDES
       
    22 
       
    23 #include "CamSettingsInternal.hrh"  // TCamTimeLapse
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 class CamTimeLapseUtility
       
    28 	{
       
    29 	
       
    30 	public:	
       
    31   	/**
       
    32   	* Convert from enum to the capture mode to be used
       
    33   	* @since 3.0
       
    34   	* @param aEnum enum value to translate
       
    35   	* @return 
       
    36   	*/ 
       
    37   	static TInt EnumToCommand( TCamTimeLapse aEnum ); 		
       
    38   
       
    39   	/**
       
    40   	* Convert from enum to the microsecond interval it represents
       
    41   	* @since 3.0
       
    42 	  * @param aEnum Enum value to translate
       
    43   	*/
       
    44   	static TTimeIntervalMicroSeconds EnumToInterval( TCamTimeLapse aEnum );
       
    45         
       
    46   	/**
       
    47   	* Convert from microsecond interval to the enum that represents it
       
    48   	* @since 3.0
       
    49   	* @param aInterval Interval in microseconds to translate
       
    50   	* @param aBurst
       
    51   	*/
       
    52   	static TCamTimeLapse IntervalToEnum( TTimeIntervalMicroSeconds aInterval, TBool aBurst );      
       
    53   
       
    54 	};
       
    55 	
       
    56 #endif // CAMTIMELAPSEUTILITY_H
       
    57