70 |
70 |
71 public: // New functions |
71 public: // New functions |
72 |
72 |
73 /** |
73 /** |
74 * Adds "Send" menu item to menupane. |
74 * Adds "Send" menu item to menupane. |
|
75 * No menu item is added, if services are not found. |
|
76 * This can happen if asyncronous sending service update is not |
|
77 * yet finished. This API will not provide any result of |
|
78 * requested operation. New API AddSendMenuItemToMenuPaneL |
|
79 * with aResult param is added. Caller application can use |
|
80 * this new API to know the API operation result. |
75 * |
81 * |
76 * @since Series 60 3.0 |
82 * @since Series 60 3.0 |
77 * @param aMenuPane Menupane where the "Send" menu item should be added. |
83 * @param aMenuPane Menupane where the "Send" menu item should be added. |
78 * @param aIndex The place of the "Send" menu item in menupane. |
84 * @param aIndex The place of the "Send" menu item in menupane. |
79 * @param aCommandId Command id for the "Send" menu item. |
85 * @param aCommandId Command id for the "Send" menu item. |
360 * @param aServiceId Service of interest |
366 * @param aServiceId Service of interest |
361 * @return Technology type of the provided service. NULL if Mtm |
367 * @return Technology type of the provided service. NULL if Mtm |
362 * service doesn't exist or service is ECOM based. |
368 * service doesn't exist or service is ECOM based. |
363 */ |
369 */ |
364 IMPORT_C TUid TechnologyType( TUid aServiceUid ) const; |
370 IMPORT_C TUid TechnologyType( TUid aServiceUid ) const; |
|
371 |
|
372 /** |
|
373 * Adds "Send" menu item to menupane and know the opeation |
|
374 * result. |
|
375 * No menu item is added, if services are not found. |
|
376 * This can happen if asyncronous sending service update is not |
|
377 * yet finished. Caller application can use this API to know the |
|
378 * API operation result. |
|
379 * |
|
380 * @since Series 60 9.2 |
|
381 * @param aResult API opeartion result. ETrue, if item is added successfully |
|
382 * EFalse , if failed to add item. |
|
383 * @param aMenuPane Menupane where the "Send" menu item should be added. |
|
384 * @param aIndex The place of the "Send" menu item in menupane. |
|
385 * @param aCommandId Command id for the "Send" menu item. |
|
386 * @param aRequiredCapabilities Capabilities required by services to be |
|
387 * shown in "Send" list query. If no capabilities are required |
|
388 * (KCapabilitiesForAllServices), all available services are |
|
389 * shown in "Send" list query. |
|
390 * |
|
391 * @return None. |
|
392 */ |
|
393 IMPORT_C void AddSendMenuItemToMenuPaneL( |
|
394 TBool& aResult, |
|
395 CEikMenuPane& aMenuPane, |
|
396 TInt aIndex, |
|
397 TInt aCommandId, |
|
398 TSendingCapabilities aRequiredCapabilities = KCapabilitiesForAllServices |
|
399 ); |
365 |
400 |
366 private: |
401 private: |
367 |
402 |
368 /** |
403 /** |
369 * C++ default constructor. |
404 * C++ default constructor. |