equal
deleted
inserted
replaced
|
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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-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_ */ |