phonebookui/Phonebook2/UIControls/inc/CPbk2FindDelay.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2002-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:  Phonebook2 find delay
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBK2FINDDELAY_H
       
    20 #define CPBK2FINDDELAY_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class MPbk2FindDelayObserver;
       
    28 
       
    29 /**
       
    30  * Phonebook 2 find delay
       
    31  */
       
    32 NONSHARABLE_CLASS(CPbk2FindDelay) : public CTimer
       
    33     {
       
    34     public:  // Constructors and destructor
       
    35         /**
       
    36          * Creates a new instance of this class.
       
    37          *
       
    38          * @param aObserver     Observer for the delay
       
    39          * @return A new instance of this class.
       
    40          */
       
    41         static CPbk2FindDelay* NewL( 
       
    42             MPbk2FindDelayObserver& aObserver );
       
    43 
       
    44         /**
       
    45          * Destructor.
       
    46          */
       
    47         ~CPbk2FindDelay();
       
    48 
       
    49     private: // From CTimer       
       
    50         void RunL();
       
    51 
       
    52     private:  // implementation
       
    53         CPbk2FindDelay( 
       
    54             MPbk2FindDelayObserver& aObserver );
       
    55         void ConstructL();
       
    56 
       
    57     private: // data
       
    58         // Ref:
       
    59         MPbk2FindDelayObserver& iObserver;
       
    60     };
       
    61 
       
    62 #endif // CPBK2FINDDELAY_H
       
    63             
       
    64 // End of File