emailservices/emailserver/cmailhandlerplugin/inc/cmailcpssettings.h
branchRCL_3
changeset 12 f5907b1a1053
parent 8 e1b6206813b4
child 17 8592a65ad3fb
equal deleted inserted replaced
8:e1b6206813b4 12:f5907b1a1053
   122 
   122 
   123     /**
   123     /**
   124      * 
   124      * 
   125      * @return
   125      * @return
   126      */
   126      */
   127     TBool AssociateWidgetToSetting( const TDesC& aContentId );
   127     void AssociateWidgetToSetting( const TDesC& aContentId,
       
   128                                    const TFSMailMsgId aMailbox  );
   128 
   129 
   129     /**
   130     /**
   130      * 
   131      * 
   131      */
   132      */
   132     void DissociateWidgetFromSettingL( const TDesC& aContentId );
   133     void DissociateWidgetFromSettingL( const TDesC& aContentId );
   254      * account specified (i.e. not empty) 
   255      * account specified (i.e. not empty) 
   255      */
   256      */
   256     void GetExtMailboxNonZeroKeysL( RArray<TUint32>& aKeys );
   257     void GetExtMailboxNonZeroKeysL( RArray<TUint32>& aKeys );
   257 
   258 
   258     /**
   259     /**
   259      * 
   260      * Find next free CenRep key to store setting.
   260      * @param aContentId
   261      * @param aContentId Id of widget instance
   261      */
       
   262     TBool IsAlreadyAssociated( const TDesC& aContentId );
       
   263 	
       
   264     /**
       
   265      * 
       
   266      */	
   262      */	
   267     TUint32 GetSettingToAssociate();
   263     TInt GetSettingToAssociate( const TDesC& aContentId );
   268     
   264 
       
   265     /**
       
   266      * @param aKey
       
   267      */
   269     CMailExternalAccount* GetExtMailboxL( TInt aKey );
   268     CMailExternalAccount* GetExtMailboxL( TInt aKey );
   270     
   269     
   271 private: // data
   270 private: // data
   272     // reference to mailclient
   271     // reference to mailclient
   273     CFSMailClient&            iMailClient;
   272     CFSMailClient&            iMailClient;