equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __RFSCONTIMER_H |
|
20 #define __RFSCONTIMER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32def.h> |
|
24 #include <e32std.h> |
|
25 |
|
26 #include "rfsConnectionObserver.h" |
|
27 |
|
28 class CRfsConnectionObserver; |
|
29 |
|
30 class CRfsConTimer : public CActive |
|
31 { |
|
32 private: |
|
33 |
|
34 CRfsConTimer(CRfsConnectionObserver * aRfsConnectionObserver); // Construction |
|
35 |
|
36 |
|
37 |
|
38 public: |
|
39 |
|
40 static CRfsConTimer* CRfsConTimer::NewL(CRfsConnectionObserver * aRfsConnectionObserver); |
|
41 ~CRfsConTimer(); // Destruction |
|
42 void IssueTimerRequest(); // issue request |
|
43 |
|
44 protected: |
|
45 void DoCancel(); // Cancel request |
|
46 void RunL(); // service completed request. |
|
47 |
|
48 public: |
|
49 |
|
50 RTimer iTimer; // Asynchronous service provider. |
|
51 CRfsConnectionObserver* iRfsConnectionObserver; |
|
52 |
|
53 private: // friend classes |
|
54 |
|
55 friend class CRfsConnectionObserver; |
|
56 }; |
|
57 |
|
58 #endif //__RFSCONTIMER_H |