buildverification/autosmoketest/messaging/Inc/TestMessTimer.h
branchRCL_3
changeset 10 4ca382093dae
parent 5 6beaa9cf4752
child 11 493058e57c8c
equal deleted inserted replaced
5:6beaa9cf4752 10:4ca382093dae
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This contains CTestMessTimer
       
    15 // 
       
    16 //
       
    17 
       
    18 #if (!defined __TEST_MESS_TIMER_H_)
       
    19 #define __TEST_MESS_TIMER_H_
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 class CTestMessProcessor;
       
    24 
       
    25 class CTestMessTimer : public CTimer  
       
    26 {
       
    27 public:
       
    28 	virtual ~CTestMessTimer();
       
    29 	static CTestMessTimer*	NewL(TTimeIntervalMicroSeconds32 aInterval, CTestMessProcessor& aProcessor);
       
    30 
       
    31 	void	RunL();
       
    32 
       
    33 	void	IssueRequest();
       
    34 
       
    35 protected:
       
    36 	CTestMessTimer(TTimeIntervalMicroSeconds32 aInterval, CTestMessProcessor& aProcessor);
       
    37 	void	ConstructL();
       
    38 
       
    39 private:
       
    40 	TTimeIntervalMicroSeconds32	iInterval;
       
    41 	CTestMessProcessor&			iProcessor;
       
    42 };
       
    43 
       
    44 #endif /* __TEST_MESS_TIMER_H_ */