equal
deleted
inserted
replaced
112 * If observer returns EStopStepping from HandleStepL, then observer must call |
112 * If observer returns EStopStepping from HandleStepL, then observer must call |
113 * this or Done when sub operation is finished. |
113 * this or Done when sub operation is finished. |
114 * Can be used to run async operations. |
114 * Can be used to run async operations. |
115 */ |
115 */ |
116 void ContinueStepping(); |
116 void ContinueStepping(); |
117 |
117 |
|
118 /** |
|
119 * Add some functionality to CActive::Cancel |
|
120 */ |
|
121 void Cancel(); |
|
122 |
118 protected: // From base class |
123 protected: // From base class |
119 |
124 |
120 /** |
125 /** |
121 * From CActive |
126 * From CActive |
122 */ |
127 */ |
123 void RunL(); |
128 void RunL(); |
124 |
129 |
125 /** |
130 /** |
126 * From CActive |
131 * From CActive |
127 */ |
132 */ |
128 void DoCancel(); |
133 void DoCancel(); |
129 |
134 |
142 /** |
147 /** |
143 * 2nd-phase Constructor |
148 * 2nd-phase Constructor |
144 */ |
149 */ |
145 void ConstructL(); |
150 void ConstructL(); |
146 |
151 |
|
152 public: |
|
153 /** |
|
154 * Set to ETrue when stepping is stopped. |
|
155 * Cancel or Done has to be called. |
|
156 */ |
|
157 TBool iStopped; |
|
158 |
147 private: // data |
159 private: // data |
148 |
160 |
149 CMPXCommand* iCurCommand; // Current Command |
161 CMPXCommand* iCurCommand; // Current Command |
150 TMPXCommandId iCurTask; // The task command id |
162 TMPXCommandId iCurTask; // The task command id |
151 TInt iCurStep; // The n-th stop in the operation |
163 TInt iCurStep; // The n-th stop in the operation |