camappengine/Engine/Inc/CaeVideoTimes.h
branchRCL_3
changeset 20 e3cdd00b5ae3
parent 19 18fa9327a158
child 21 27fe719c32e6
equal deleted inserted replaced
19:18fa9327a158 20:e3cdd00b5ae3
     1 /*
       
     2 * Copyright (c) 2002 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:  Camera Application Engine video times provider class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CAEVIDEOTIMES_H
       
    21 #define CAEVIDEOTIMES_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 * Video recording times generator class.
       
    31 * Generates elapsed and remaining recording time info periodically.
       
    32 */
       
    33 NONSHARABLE_CLASS( CCaeVideoTimes ) : public CPeriodic
       
    34     {
       
    35 
       
    36     public:  // Constructors and destructor    
       
    37         
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CCaeVideoTimes* NewL();
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~CCaeVideoTimes();
       
    47 
       
    48     private: // From CPeriodic base class CActive.
       
    49 
       
    50         /**
       
    51         * From CActive, called if CCaeVideoTimes function RunL() leaves.
       
    52         * @param aError Standard Symbian OS error code
       
    53         * @return Error code KErrNone
       
    54         */
       
    55         TInt RunError( 
       
    56             TInt aError );
       
    57 
       
    58     private: // Private methods.
       
    59         
       
    60         /**
       
    61         * C++ constructor.
       
    62         */
       
    63         CCaeVideoTimes();
       
    64 
       
    65         /**
       
    66         * Symbian OS 2nd phase constructor that can leave.
       
    67         */
       
    68         void ConstructL();
       
    69 
       
    70     };
       
    71 
       
    72 #endif // CAEVIDEOTIMES_H   
       
    73 
       
    74 
       
    75 // End of File