emailservices/emailframework/inc/CFSMailClient.h
changeset 59 16ed8d08d0b1
parent 20 ecc8def7944a
child 62 a8c646b56683
equal deleted inserted replaced
54:997a02608b3a 59:16ed8d08d0b1
   211 
   211 
   212     /**
   212     /**
   213      * returns email mailbox object related to given mailbox id
   213      * returns email mailbox object related to given mailbox id
   214      *
   214      *
   215      * @param aMailBoxId mailbox id
   215      * @param aMailBoxId mailbox id
   216      * @return mailbox object ( CFSMailBox ), ownership is transferred to user
   216      * @return mailbox object ( CFSMailBox )
       
   217      *         or NULL if no matching mailbox found. 
       
   218      *         Ownership is transferred to user!
   217      */
   219      */
   218      IMPORT_C CFSMailBox* GetMailBoxByUidL( const TFSMailMsgId aMailBoxId);
   220      IMPORT_C CFSMailBox* GetMailBoxByUidL( const TFSMailMsgId aMailBoxId);
   219                 
   221       	  		
       
   222 
       
   223     /**
       
   224      * returns email mailbox object related to given mailbox id. Otherwise 
       
   225      * identical to GetMailBoxByUidL but mailbox object is stored to cleanup 
       
   226      * stack.
       
   227      *
       
   228      * @param aMailBoxId mailbox id
       
   229      * @return mailbox object ( CFSMailBox )
       
   230      *         or NULL if no matching mailbox found.
       
   231      *         CFSMailBox pointer is stored to cleanup stack (even if NULL). 
       
   232      *         Ownership is transferred to user! 
       
   233      */
       
   234      IMPORT_C CFSMailBox* GetMailBoxByUidLC( const TFSMailMsgId aMailBoxId);
       
   235 
       
   236      
   220     /**
   237     /**
   221      * returns email folder object related to given folder id
   238      * returns email folder object related to given folder id
   222      *
   239      *
   223      * @param aMailBoxId id of mailbox containing folder
   240      * @param aMailBoxId id of mailbox containing folder
   224      * @param aFolderId folder id
   241      * @param aFolderId folder id
   372       * @param aMailboxId mailbox id
   389       * @param aMailboxId mailbox id
   373       * @param aMailboxName new name for the mailbox
   390       * @param aMailboxName new name for the mailbox
   374       */
   391       */
   375      IMPORT_C void SetMailboxName( const TFSMailMsgId aMailboxId, const TDesC& aMailboxName );
   392      IMPORT_C void SetMailboxName( const TFSMailMsgId aMailboxId, const TDesC& aMailboxName );
   376 
   393 
       
   394 
   377 //<qmail>
   395 //<qmail>
   378      /**
   396      /**
   379       * increments reference count to framework singleton
   397       * increments reference count to framework singleton
   380 	  * visibility change to public by Qmail
   398 	  * visibility change to public by Qmail
   381       */
   399       */
   382      IMPORT_C TInt IncReferenceCount();
   400      IMPORT_C TInt IncReferenceCount();
   383 //</qmail>
   401 //</qmail>
   384 
   402      
       
   403 	 
       
   404      /**
       
   405       * Prepares and sets the MR description by converting HTML body to Plain text
       
   406       *
       
   407       * @param aMailboxId mailbox id
       
   408       * @param aMessageId message id
       
   409       */     
       
   410      IMPORT_C virtual void PrepareMrDescriptionL( const TFSMailMsgId& aMailBoxId,
       
   411                                                   const TFSMailMsgId& aMessageId );
   385 public: // from  CExtendableEmail
   412 public: // from  CExtendableEmail
   386 
   413 
   387     /**
   414     /**
   388      * @see CExtendableEmail::ReleaseExtension
   415      * @see CExtendableEmail::ReleaseExtension
   389      */
   416      */