emailservices/emailserver/cmailhandlerplugin/inc/cmailcpssettings.h
branchRCL_3
changeset 13 8592a65ad3fb
parent 10 f5907b1a1053
child 14 b13141f05c3d
equal deleted inserted replaced
12:4ce476e64c59 13:8592a65ad3fb
   100      * @param aMailbox Id of the mailbox to remove from settings
   100      * @param aMailbox Id of the mailbox to remove from settings
   101      */
   101      */
   102     void RemoveMailboxL( const TFSMailMsgId aMailbox );
   102     void RemoveMailboxL( const TFSMailMsgId aMailbox );
   103 
   103 
   104     /**
   104     /**
   105      * Removes mailbox from widget settings
       
   106      * @param aIndex refers to index in mailbox array that is returned by
       
   107      *        CMailCpsSettings::Mailboxes()
       
   108      */
       
   109     void RemoveMailboxL( const TInt aIndex );
       
   110 
       
   111     /**
       
   112      * Gets maximum row count
   105      * Gets maximum row count
   113      * @return maximum row count
   106      * @return maximum row count
   114      */
   107      */
   115     TInt MaxRowCount();
   108     TInt MaxRowCount();
   116 
   109 
   186 
   179 
   187     /**
   180     /**
   188      *
   181      *
   189      */    
   182      */    
   190     TBool GetNewMailState( const TFSMailMsgId& aMailBox );
   183     TBool GetNewMailState( const TFSMailMsgId& aMailBox );
       
   184 
       
   185     /**
       
   186      * Find next free CenRep key to store setting.
       
   187      * @param aContentId Id of widget instance
       
   188      * @return true if account is associated to content id, false if not
       
   189      */    
       
   190     TBool Associated( const TDesC& aContentId );
   191     
   191     
   192 protected:
   192 protected:
   193     /**
   193     /**
   194      * From CActive
   194      * From CActive
   195      * Cancellation logic for the asynchronous request
   195      * Cancellation logic for the asynchronous request