camappengine/Engine/Inc/CaeVideoTimes.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:33:47 +0200
changeset 14 34024902876b
parent 0 9b3e960ffc8a
permissions -rw-r--r--
Revision: 201005 Kit: 201011

/*
* 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