diff -r 000000000000 -r 9b3e960ffc8a camappengine/Engine/Inc/CaeVideoTimes.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/camappengine/Engine/Inc/CaeVideoTimes.h Thu Dec 17 08:51:24 2009 +0200 @@ -0,0 +1,75 @@ +/* +* 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 + + +// 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