mmsharing/mmshavailability/tsrc/ut_availability/Stubs/inc/musavatimer.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSMAVATIMER_H
       
    20 #define MUSMAVATIMER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 /**
       
    26  *  This class contains 
       
    27  *
       
    28  *  @since S60 v3.2
       
    29  */
       
    30 class CMusAvaTimer : public CActive
       
    31     {
       
    32 public:
       
    33 
       
    34 	static CMusAvaTimer* NewL();
       
    35 
       
    36     static CMusAvaTimer* NewLC();
       
    37     
       
    38     ~CMusAvaTimer();
       
    39     
       
    40 	void StopActiveSchedulerAfter( TInt aMilliSeconds, 
       
    41                                    TRequestStatus* aStatus  );
       
    42 	void RunL();
       
    43 	void DoCancel();
       
    44 
       
    45 private:
       
    46 
       
    47     CMusAvaTimer();
       
    48     void ConstructL();
       
    49     
       
    50 private:
       
    51     //Data    
       
    52 	RTimer iTimer;
       
    53 	//Request status
       
    54 	TRequestStatus* iRequestStatus;
       
    55     };
       
    56 
       
    57 #endif // MUSMAVATIMER_H
       
    58 
       
    59 //  End of File