camerauis/cameraapp/generic/inc/CamSelfTimerObserver.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
       
     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:  Defines abstract interface for CCamSelfTimer observers*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 #ifndef CAMSELFTIMEROBSERVER_H
       
    20 #define CAMSELFTIMEROBSERVER_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 // CONSTANTS
       
    25 
       
    26 // MACROS
       
    27 
       
    28 // DATA TYPES
       
    29 enum TCamSelfTimerEvent
       
    30     {
       
    31     ECamSelfTimerEventTimerOn,
       
    32     ECamSelfTimerEventTimerOff
       
    33     };
       
    34 
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 
       
    38 // FORWARD DECLARATIONS
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43 * Abstract API for self timer observer. 
       
    44 * Derived classes may register as observers to get related
       
    45 * notifications about events from CCamSelfTimer.
       
    46 *
       
    47 *  @since 2.8
       
    48 */
       
    49 class MCamSelfTimerObserver
       
    50     {
       
    51     public:
       
    52         /**
       
    53         * Handle an event from CCamSelfTimer.
       
    54         * @since 2.8
       
    55         * @param aEvent the self timer event
       
    56         * @param aCountdown self timer countdown duration
       
    57         */
       
    58         virtual void HandleSelfTimerEvent( TCamSelfTimerEvent aEvent, TInt aCountDown ) = 0;
       
    59     };
       
    60 
       
    61 #endif      // CAMSELFTIMEROBSERVER_H
       
    62             
       
    63 // End of File