equal
deleted
inserted
replaced
19 #ifndef CWDMONITOR_H |
19 #ifndef CWDMONITOR_H |
20 #define CWDMONITOR_H |
20 #define CWDMONITOR_H |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include "MWDTimerHandler.h" |
23 #include "MWDTimerHandler.h" |
|
24 #include "mcentrephandler.h" |
24 |
25 |
25 //Forward declaration |
26 //Forward declaration |
26 class CWDTimer; |
27 class CWDTimer; |
|
28 class CentrepMonitor; |
27 |
29 |
28 class CWDMonitor : public CBase , public MWDTimerHandler |
30 class CWDMonitor : public CBase , public MWDTimerHandler, public MCentrepHandler |
29 { |
31 { |
30 public: |
32 public: |
31 /* |
33 /* |
32 * Construction |
34 * Construction |
33 * @return instance of CWDMonitor |
35 * @return instance of CWDMonitor |
49 */ |
51 */ |
50 void StartMonitor(); |
52 void StartMonitor(); |
51 |
53 |
52 // From MWDTimerHandler |
54 // From MWDTimerHandler |
53 void HandleWDTimerL(); |
55 void HandleWDTimerL(); |
|
56 |
|
57 //From MCentrepHandler |
|
58 void HandlecentrepL( TUint32 aKey ); |
54 |
59 |
55 private: |
60 private: |
56 /* |
61 /* |
57 * @description Starts the specified server. |
62 * @description Starts the specified server. |
58 * @param TDesC& aServerName Name of the server to start |
63 * @param TDesC& aServerName Name of the server to start |
80 void ConstructL(); |
85 void ConstructL(); |
81 |
86 |
82 private: |
87 private: |
83 |
88 |
84 // Timer which is used to delay server monitoring |
89 // Timer which is used to delay server monitoring |
85 CWDTimer* iWDTimer; |
90 CWDTimer* iWDTimer; |
|
91 TBool iAllowHS; |
|
92 TBool iAllowSS; |
|
93 TUid iHSUid; |
|
94 TUid iSSUid; |
|
95 HBufC* iHSName; |
|
96 HBufC* iSSName; |
|
97 |
|
98 CentrepMonitor* aHSMonitor; |
|
99 CentrepMonitor* aSSMonitor; |
86 }; |
100 }; |
87 |
101 |
88 #endif /* CWDMONITOR_H */ |
102 #endif /* CWDMONITOR_H */ |