mmmw_plat/telephony_multimedia_service_api/tsrc/TmsAudioServicesTestClass/inc/TimeoutController.h
equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Telephony Multimedia Service - STIF TEST |
14 * Description: Telephony Multimedia Service - STIF TEST |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef __TIMEOUTCONTROLLER_H |
18 #ifndef TIMEOUTCONTROLLER_H |
19 #define __TIMEOUTCONTROLLER_H |
19 #define TIMEOUTCONTROLLER_H |
20 |
20 |
21 #include <e32svr.h> |
21 #include <e32svr.h> |
22 #include <StifParser.h> |
22 #include <StifParser.h> |
23 #include <StifLogger.h> |
23 #include <StifLogger.h> |
24 #include <Stiftestinterface.h> |
24 #include <Stiftestinterface.h> |
56 /** |
56 /** |
57 * Destructor. |
57 * Destructor. |
58 */ |
58 */ |
59 ~CSimpleTimeout(); |
59 ~CSimpleTimeout(); |
60 |
60 |
61 public: |
|
62 |
|
63 /** |
61 /** |
64 * Starts timeout counting |
62 * Starts timeout counting |
65 */ |
63 */ |
66 void Start(TTimeIntervalMicroSeconds aTimeout); |
64 void Start(TTimeIntervalMicroSeconds aTimeout); |
67 |
65 |
68 /** |
66 /** |
69 * Cancel timeout counting |
67 * Cancel timeout counting |
70 */ |
68 */ |
71 void Stop(); |
69 void Stop(); |
72 |
|
73 public: |
|
74 |
70 |
75 /** |
71 /** |
76 * RunL derived from CActive handles the completed requests. |
72 * RunL derived from CActive handles the completed requests. |
77 */ |
73 */ |
78 void RunL(); |
74 void RunL(); |
107 // Storage for testcase timeout. |
103 // Storage for testcase timeout. |
108 TTime iTestCaseTimeout; |
104 TTime iTestCaseTimeout; |
109 CStifLogger* iLog; |
105 CStifLogger* iLog; |
110 }; |
106 }; |
111 |
107 |
112 #endif //__TIMEOUTCONTROLLER_H |
108 #endif //TIMEOUTCONTROLLER_H |
113 |
109 |