camerauis/cameraapp/generic/inc/CamTimerBase.h
changeset 0 1ddebce53859
equal deleted inserted replaced
-1:000000000000 0:1ddebce53859
       
     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:  Mixin class for implementing viewfinder timeout and*
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef CAMTIMERBASE_H
       
    19 #define CAMTIMERBASE_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // CONSTANTS
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Active object for implementing viewfinder and post capture timeout
       
    32 */
       
    33 class CCamTimerBase : public CTimer
       
    34     {
       
    35     public: // New functions
       
    36         /**        
       
    37         *	Start timer.
       
    38         */
       
    39         virtual void StartTimer() = 0;
       
    40         
       
    41         /**        
       
    42         * Set the timeout period
       
    43         * @since 3.0
       
    44         * @param aTimeout new timer period
       
    45         */    
       
    46         virtual void SetTimeout( TInt aTimeout ) = 0;
       
    47 
       
    48     protected:
       
    49 
       
    50         inline CCamTimerBase( TInt aPriority );
       
    51     };
       
    52 
       
    53 #include "CamTimerBase.inl"
       
    54 
       
    55 #endif // CAMTIMERBASE_H
       
    56 
       
    57 // End of File