68 |
68 |
69 public: |
69 public: |
70 |
70 |
71 /** |
71 /** |
72 * Adds menu item of given type to menupane. |
72 * Adds menu item of given type to menupane. |
73 * No menu item is added, if services are not found. |
73 * |
74 * This can happen if asyncronous sending service update is not |
|
75 * yet finished. This API will not provide any result of |
|
76 * requested operation. New API AddTypedMenuItemToMenuPaneL |
|
77 * with aResult param is added. Caller application can use this |
|
78 * new API to know the API operation result. |
|
79 * |
|
80 * @since Series 60 3.0 |
74 * @since Series 60 3.0 |
81 * @param aMenuType Type of the menu, e.g. "ESendMenu" or "EWriteMenu" |
75 * @param aMenuType Type of the menu, e.g. "ESendMenu" or "EWriteMenu" |
82 * @param aMenuPane Menupane where the menu item should be added. |
76 * @param aMenuPane Menupane where the menu item should be added. |
83 * @param aIndex The place of the menu item in menupane. |
77 * @param aIndex The place of the menu item in menupane. |
84 * @param aCommandId Command id for the menu item. |
78 * @param aCommandId Command id for the menu item. |
341 * EFalse, if cannot be appended |
335 * EFalse, if cannot be appended |
342 */ |
336 */ |
343 |
337 |
344 TBool IsEmailAppendableL(TMsvEntry tentry); |
338 TBool IsEmailAppendableL(TMsvEntry tentry); |
345 |
339 |
346 /** |
340 |
347 * Adds menu item of given type to menupane and know the opeation |
|
348 * result. |
|
349 * No menu item is added, if services are not found. |
|
350 * This can happen if asyncronous sending service update is not |
|
351 * yet finished. Caller application can use this API to know the |
|
352 * API operation result. |
|
353 * |
|
354 * @since Series 60 9.2 |
|
355 * @param aResult API opeartion result. ETrue, if item is added successfully |
|
356 * EFalse , if failed to add item. * |
|
357 * @param aMenuType Type of the menu, e.g. "ESendMenu" or "EWriteMenu" |
|
358 * @param aMenuPane Menupane where the menu item should be added. |
|
359 * @param aIndex The place of the menu item in menupane. |
|
360 * @param aCommandId Command id for the menu item. |
|
361 * @param aRequiredCapabilities Capabilities required by services to be |
|
362 * shown in "Send" list query. If no capabilities are required |
|
363 * (KCapabilitiesForAllServices), all available services are |
|
364 * shown in "Send" list query. |
|
365 * @return None. |
|
366 */ |
|
367 void AddTypedMenuItemToMenuPaneL( |
|
368 TBool& aResult, |
|
369 CSendUi::TSendUiMenuType aMenuType, |
|
370 CEikMenuPane& aMenuPane, |
|
371 TInt aIndex, |
|
372 TInt aCommandId, |
|
373 TSendingCapabilities aRequiredCapabilities = KCapabilitiesForAllServices ); |
|
374 |
341 |
375 private: |
342 private: |
376 |
343 |
377 |
344 |
378 /** |
345 /** |