equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
41 |
41 |
42 TInt32 AddL(const TTimeIntervalMicroSeconds32& aInterval, const TCallBack& aCallBack); |
42 TInt32 AddL(const TTimeIntervalMicroSeconds32& aInterval, const TCallBack& aCallBack); |
43 TInt32 AddL(const TTime& aTime, const TCallBack& aCallBack); |
43 TInt32 AddL(const TTime& aTime, const TCallBack& aCallBack); |
44 void Remove(TInt32 aTimer); |
44 void Remove(TInt32 aTimer); |
45 |
45 |
46 protected: |
|
47 class TTimerInfo |
46 class TTimerInfo |
48 { |
47 { |
49 public: |
48 public: |
50 TTime iTime; |
49 TTime iTime; |
51 TCallBack iCallBack; |
50 TCallBack iCallBack; |
52 }; |
51 }; |
53 |
52 |
|
53 protected: |
54 void RunL(); |
54 void RunL(); |
55 void ConstructL(); |
55 void ConstructL(); |
56 TInt RunError(TInt aError); |
56 TInt RunError(TInt aError); |
57 |
57 |
58 private: |
58 private: |