messagingappbase/ncnlist/inc/NcnTimer.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2004 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 *       This class defines functionality for small timer
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __NCNTIMER_H__
       
    22 #define __NCNTIMER_H__
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h> // CTimer
       
    26 
       
    27 // CONSTANTS
       
    28 // MACROS
       
    29 // DATA TYPES
       
    30 // FUNCTION PROTOTYPES
       
    31 // FORWARD DECLARATIONS
       
    32 class MNcnTimer;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  CNcnTimer
       
    38 */
       
    39 class CNcnTimer : public CTimer
       
    40     {
       
    41     public:
       
    42        /**
       
    43         * 2-phase constructor.
       
    44         */
       
    45         static CNcnTimer* NewL( MNcnTimer& aObserver );
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         virtual ~CNcnTimer();
       
    51 
       
    52     private:
       
    53 
       
    54         /**
       
    55         * From CActive
       
    56         */
       
    57         virtual void RunL();
       
    58 
       
    59        /**
       
    60         * C++ constructor.
       
    61         */
       
    62         CNcnTimer( MNcnTimer& aObserver );
       
    63 
       
    64         /**
       
    65         * Symbian OS constructor.
       
    66         */
       
    67         void ConstructL();
       
    68 
       
    69     private:
       
    70         // Object to be used for calling
       
    71         MNcnTimer& iObserver;
       
    72     };
       
    73 
       
    74 
       
    75 #endif      // __MCEEMAILEDITORRESETTIMER_H__
       
    76 
       
    77 // End of File