camappengine/Engine/Inc/CaeVideoTimes.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:23:23 +0100
branchRCL_3
changeset 34 27fe719c32e6
parent 0 9b3e960ffc8a
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201031 Kit: 201035

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Camera Application Engine video times provider class
*
*/



#ifndef CAEVIDEOTIMES_H
#define CAEVIDEOTIMES_H

// INCLUDES
#include <e32base.h>


// CLASS DECLARATION

/**
* Video recording times generator class.
* Generates elapsed and remaining recording time info periodically.
*/
NONSHARABLE_CLASS( CCaeVideoTimes ) : public CPeriodic
    {

    public:  // Constructors and destructor    
        
        /**
        * Two-phased constructor.
        */
        static CCaeVideoTimes* NewL();

        /**
        * Destructor.
        */
        virtual ~CCaeVideoTimes();

    private: // From CPeriodic base class CActive.

        /**
        * From CActive, called if CCaeVideoTimes function RunL() leaves.
        * @param aError Standard Symbian OS error code
        * @return Error code KErrNone
        */
        TInt RunError( 
            TInt aError );

    private: // Private methods.
        
        /**
        * C++ constructor.
        */
        CCaeVideoTimes();

        /**
        * Symbian OS 2nd phase constructor that can leave.
        */
        void ConstructL();

    };

#endif // CAEVIDEOTIMES_H   


// End of File