hti/HtiCommPlugins/HtiBtCommPlugin/BtEngine/inc/timeouttimer.h
changeset 36 813b186005b6
parent 30 86a2e675b80a
child 41 838cdffd57ce
equal deleted inserted replaced
30:86a2e675b80a 36:813b186005b6
     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:  Timer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __TIMEOUTTIMER_H__
       
    20 #define __TIMEOUTTIMER_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class MTimeOutNotifier;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 class CTimeOutTimer : public CTimer
       
    30     {
       
    31     public: // Constructors and destructors
       
    32 
       
    33         static CTimeOutTimer* NewL( const TInt aPriority,
       
    34                                     MTimeOutNotifier& aObserver);
       
    35         virtual ~CTimeOutTimer();
       
    36 
       
    37     protected: // Functions from base classes
       
    38 
       
    39         void RunL();
       
    40 
       
    41     private: // Constructors and destructors
       
    42 
       
    43         CTimeOutTimer( const TInt aPriority,
       
    44                        MTimeOutNotifier& aTimeOutNotify );
       
    45         void ConstructL();
       
    46 
       
    47     private: // Data
       
    48 
       
    49         MTimeOutNotifier& iObserver;
       
    50     };
       
    51 
       
    52 #endif // __TIMEOUTTIMER_H__
       
    53 
       
    54 // End of File