mmsharing/mmshavailability/inc/musavacapabilitytimer.h
changeset 22 496ad160a278
parent 0 f0cf47e981f9
child 21 ce86b6d44a6d
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 #ifndef CMUSAVACAPABILITYTIMER_H
       
    19 #define CMUSAVACAPABILITYTIMER_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 /**
       
    24 *  Timer class. 
       
    25 *
       
    26 *  @lib 
       
    27 */
       
    28 class CMusAvaCapabilityTimer : public CTimer
       
    29     {
       
    30 
       
    31 public: // timer observer
       
    32     
       
    33     class MTimeOutNotify
       
    34         {
       
    35         public:
       
    36             virtual void OnExpiredL( TInt aStatus ) = 0;
       
    37         };
       
    38 
       
    39 
       
    40 public: // constructors and destructor
       
    41 
       
    42     static CMusAvaCapabilityTimer* NewL( MTimeOutNotify& aNotify );
       
    43     ~CMusAvaCapabilityTimer();
       
    44 
       
    45 protected: // From CTimer
       
    46 
       
    47     void RunL();
       
    48 
       
    49 private:
       
    50 
       
    51     CMusAvaCapabilityTimer( const TInt aPriority, MTimeOutNotify& aNotify );
       
    52 
       
    53     void ConstructL();
       
    54 
       
    55 private:
       
    56 
       
    57     MTimeOutNotify* iNotify;
       
    58 
       
    59     };
       
    60 
       
    61 #endif  // CMUSAVACAPABILITYTIMER_H
       
    62 
       
    63 // End of File