phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/inc/ccappcommlauncherplugin.h
equal
deleted
inserted
replaced
135 |
135 |
136 public: //From MCCAppViewPluginBase2 |
136 public: //From MCCAppViewPluginBase2 |
137 |
137 |
138 TBool PluginBusy(); |
138 TBool PluginBusy(); |
139 |
139 |
|
140 public: // From CAknView |
|
141 void HandleForegroundEventL( TBool aForeground ); |
|
142 |
140 public: |
143 public: |
141 |
144 |
142 /** |
145 /** |
143 * Returns a pointer to preferred comm methods |
146 * Returns a pointer to preferred comm methods |
144 * |
147 * |
214 * Return pointer to contactor service. |
217 * Return pointer to contactor service. |
215 */ |
218 */ |
216 CCAContactorService* ContactorService(); |
219 CCAContactorService* ContactorService(); |
217 |
220 |
218 void DefaultSettingComplete(); |
221 void DefaultSettingComplete(); |
|
222 /** |
|
223 * Start timer. |
|
224 */ |
|
225 void StartTimerL(); |
|
226 |
|
227 /** |
|
228 * Cancel timer. |
|
229 */ |
|
230 void CancelTimer(); |
219 |
231 |
220 private: // new |
232 private: // new |
221 |
233 |
222 /** |
234 /** |
223 * Initialises the preferred communication methods array. |
235 * Initialises the preferred communication methods array. |
237 * Creates menuhandler if not created already. |
249 * Creates menuhandler if not created already. |
238 * |
250 * |
239 * @since S60 v5.0 |
251 * @since S60 v5.0 |
240 */ |
252 */ |
241 void EnsureMenuHandlerCreatedL(); |
253 void EnsureMenuHandlerCreatedL(); |
|
254 |
|
255 /** |
|
256 * Exit CCA application if it is at background when the request timeout. |
|
257 * |
|
258 */ |
|
259 void CloseCCApp(); |
242 |
260 |
243 private: // constructors |
261 private: // constructors |
244 |
262 |
245 CCCAppCommLauncherPlugin(); |
263 CCCAppCommLauncherPlugin(); |
246 void ConstructL(); |
264 void ConstructL(); |
256 * Sets the CBA labels. |
274 * Sets the CBA labels. |
257 * @param aEditable Boolean that tells if contact has communication |
275 * @param aEditable Boolean that tells if contact has communication |
258 * methods or not. |
276 * methods or not. |
259 */ |
277 */ |
260 void UpdateMSKinCbaL( TBool aCommMethodsAvailable ); |
278 void UpdateMSKinCbaL( TBool aCommMethodsAvailable ); |
|
279 |
|
280 /** |
|
281 * Notify the timeout after sent an aiw service request. |
|
282 * |
|
283 */ |
|
284 static TInt ServiceTimeOutL( TAny* aObject ); |
261 |
285 |
262 private:// data |
286 private:// data |
263 |
287 |
264 /** |
288 /** |
265 * Pointer to contact data fetcher. |
289 * Pointer to contact data fetcher. |
293 * Own. |
317 * Own. |
294 */ |
318 */ |
295 CCAContactorService* iContactorService; |
319 CCAContactorService* iContactorService; |
296 |
320 |
297 CActiveSchedulerWait* iWaitFinish; |
321 CActiveSchedulerWait* iWaitFinish; |
298 |
322 |
|
323 /** |
|
324 * The timer notifier an aiw service request timeout. |
|
325 * Own. |
|
326 */ |
|
327 CPeriodic* iAiwRequestTimer; |
|
328 |
|
329 /** |
|
330 * Record whether the View foreground flag. |
|
331 * Own. |
|
332 */ |
|
333 TBool iIsCcaForeground; |
|
334 |
|
335 /** |
|
336 * Timer start flag. |
|
337 * Own. |
|
338 */ |
|
339 TBool iIsTimerStart; |
299 }; |
340 }; |
300 |
341 |
301 #endif // C_CCAPPCOMMLAUNCHERPLUGIN_H |
342 #endif // C_CCAPPCOMMLAUNCHERPLUGIN_H |
302 |
343 |
303 // End of File |
344 // End of File |