messagingappbase/mce/inc/MceMessageListContTimer.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 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 *     List container key timer.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCEMESSAGELISTCONTTIMER_H
       
    22 #define MCEMESSAGELISTCONTTIMER_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CPtiEngine;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Timer used by message view to find and select a message entry
       
    33 *  Derived from CActive.
       
    34 */
       
    35 class CMceMessageListContainerKeyTimer :
       
    36     public CActive
       
    37     {
       
    38     public:
       
    39 
       
    40         /**
       
    41         * Constructor.
       
    42         */        
       
    43         static CMceMessageListContainerKeyTimer* NewL( CPtiEngine& aT9Interface );
       
    44         
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         ~CMceMessageListContainerKeyTimer();
       
    49        
       
    50         /**
       
    51         * Starts key click timer
       
    52         */
       
    53         void Start();
       
    54 
       
    55     protected:
       
    56 
       
    57         /**
       
    58         * Cancels key click timer
       
    59         */
       
    60         virtual void DoCancel();
       
    61         
       
    62         /**
       
    63         * Runs key click timer
       
    64         */
       
    65         virtual void RunL();
       
    66 
       
    67     private:
       
    68 
       
    69         /**
       
    70         * Constructor is private.
       
    71         */       
       
    72         CMceMessageListContainerKeyTimer( CPtiEngine& aT9Interface );
       
    73         
       
    74         /**
       
    75         * Creates local key click timer
       
    76         */
       
    77         void ConstructL();
       
    78 
       
    79     private:
       
    80         RTimer      iTimer;        
       
    81         CPtiEngine& iT9Interface;
       
    82 
       
    83     };
       
    84 
       
    85 
       
    86 #endif
       
    87 
       
    88 // End of file