accessoryservices/pluggeddisplay/pluggeddisplayengine/inc/myasynconeshottimer.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2  * Copyright (c) 2009 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:
       
    15  * CTVOutConfigForHDMI class declaration.
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef MYASYNCONESHOTTIMER_H
       
    20 #define MYASYNCONESHOTTIMER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "myasynconeshottimercallback.h"
       
    25 
       
    26 
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 
       
    38 // CLASS DECLARATION
       
    39 /**
       
    40  *  Asynchronous one shot timer implementation.
       
    41  *
       
    42  *  @code
       
    43  *   ?good_class_usage_example(s)
       
    44  *  @endcode
       
    45  *
       
    46  *  @lib none.
       
    47  *  @since TB 9.2
       
    48  */
       
    49 NONSHARABLE_CLASS( CMyAsyncOneShotTimer ): public CAsyncOneShot
       
    50     {
       
    51     public:
       
    52         CMyAsyncOneShotTimer( TInt aPriority,
       
    53                 MMyAsyncOneShotTimerCallback& aAsyncOneShotTimerCallback );
       
    54         ~CMyAsyncOneShotTimer();
       
    55     private:
       
    56         void RunL();
       
    57         void DoCancel();
       
    58         
       
    59     private: // Data
       
    60         MMyAsyncOneShotTimerCallback& iAsyncOneShotTimerCallback;
       
    61     };
       
    62 
       
    63 #endif // MYASYNCONESHOTTIMER_H