msgfw_pub/send_ui_api/inc/SendUi.h
branchRCL_3
changeset 59 d1d846af7341
parent 46 d51193d814ea
equal deleted inserted replaced
49:002ade1da91c 59:d1d846af7341
    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.
       
    81         *
    75         *
    82         * @since Series 60 3.0
    76         * @since Series 60 3.0
    83         * @param aMenuPane Menupane where the "Send" menu item should be added.
    77         * @param aMenuPane Menupane where the "Send" menu item should be added.
    84         * @param aIndex The place of the "Send" menu item in menupane.
    78         * @param aIndex The place of the "Send" menu item in menupane.
    85         * @param aCommandId Command id for the "Send" menu item.
    79         * @param aCommandId Command id for the "Send" menu item.
   366         *   @param aServiceId Service of interest
   360         *   @param aServiceId Service of interest
   367         *   @return Technology type of the provided service. NULL if Mtm
   361         *   @return Technology type of the provided service. NULL if Mtm
   368         *           service doesn't exist or service is ECOM based.
   362         *           service doesn't exist or service is ECOM based.
   369         */
   363         */
   370         IMPORT_C TUid TechnologyType( TUid aServiceUid ) const;
   364         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                 );
       
   400 
   365 
   401     private:
   366     private:
   402 
   367 
   403         /**
   368         /**
   404         * C++ default constructor.
   369         * C++ default constructor.