messagingfw/senduiservices/inc/SendUiImpl.h
branchRCL_3
changeset 39 e5b3a2155e1a
parent 11 dd93350a5f29
equal deleted inserted replaced
38:e4175d61d967 39:e5b3a2155e1a
    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     *
    73     * No menu item is added, if services are not found. 
       
    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     * 
    74     * @since Series 60 3.0
    80     * @since Series 60 3.0
    75     * @param aMenuType Type of the menu, e.g. "ESendMenu" or "EWriteMenu"
    81     * @param aMenuType Type of the menu, e.g. "ESendMenu" or "EWriteMenu"
    76     * @param aMenuPane Menupane where the menu item should be added.
    82     * @param aMenuPane Menupane where the menu item should be added.
    77     * @param aIndex The place of the menu item in menupane.
    83     * @param aIndex The place of the menu item in menupane.
    78     * @param aCommandId Command id for the menu item.
    84     * @param aCommandId Command id for the menu item.
   336       */ 
   342       */ 
   337      
   343      
   338      TBool IsEmailAppendableL(TMsvEntry tentry);
   344      TBool IsEmailAppendableL(TMsvEntry tentry);
   339 	 
   345 	 
   340      /**
   346      /**
   341       * Validates if all the attachments are DRM protected 
   347       * Adds menu item of given type to menupane and know the opeation
   342       *
   348       * result.
   343       * @since S60 v5.0
   349       * No menu item is added, if services are not found. 
   344       * @param TBool
   350       * This can happen if asyncronous sending service update is not 
   345       * @return ETrue, if it atleast one of the attachments can be sent 
   351       * yet finished. Caller application can use this  API to know the
   346       *         EFalse, if no attachment can be sent
   352       * API operation result.
   347       */ 
   353       * 
   348      
   354       * @since Series 60 9.2      
   349      TBool ValidateAttachmentsL(const CMessageData*  aMessageData);
   355       * @param aResult API opeartion result. ETrue, if item is added successfully
   350      
   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 );
   351      
   374      
   352 private:
   375 private:
   353 
   376 
   354     
   377     
   355     /**
   378     /**