messagingappbase/mce/inc/MceBitmapResolver.h
branchRCL_3
changeset 28 fbb813aef148
parent 22 52d61119153d
equal deleted inserted replaced
24:e00582ce7ecd 28:fbb813aef148
    25 
    25 
    26 //  INCLUDES
    26 //  INCLUDES
    27 
    27 
    28 #include "mcetemplate.h"
    28 #include "mcetemplate.h"
    29 #include <AknsUtils.h>
    29 #include <AknsUtils.h>
       
    30 
       
    31 //cmail update
       
    32 #define KUidMsgTypeFsMtmVal               0x2001F406
    30 
    33 
    31 // CONSTANTS
    34 // CONSTANTS
    32 const TInt KMceMmsPriority = 1;	// For loading the MMS priority icons
    35 const TInt KMceMmsPriority = 1;	// For loading the MMS priority icons
    33 
    36 
    34 // DATA TYPES
    37 // DATA TYPES
   143         * @param aMessages:number of messages under the folder or service.
   146         * @param aMessages:number of messages under the folder or service.
   144         * @param aUnreadMessages: number of unread messages under the folder or service.
   147         * @param aUnreadMessages: number of unread messages under the folder or service.
   145         * @return ETrue if unread children found.
   148         * @return ETrue if unread children found.
   146         */
   149         */
   147         TBool HasUnreadMessagesL( const TMsvId aId, TInt& aMessages, TInt& aUnreadMessages );
   150         TBool HasUnreadMessagesL( const TMsvId aId, TInt& aMessages, TInt& aUnreadMessages );
       
   151 		
       
   152         /**
       
   153          * Find Visible Count for local service Draft\sent\outbox folder
       
   154          * Unread message check is not required.
       
   155          * @param aId: folder ID of local service.
       
   156          * @return TInt Return Message Count visble in messaging main view
       
   157          */
       
   158         TInt FindVisibleCountL(TMsvId aFolderId ) const;
       
   159          
       
   160         /**
       
   161          * Find Visible Count for local service Inbox folder
       
   162          * Unread message check is  required here to show Inbox icon with u
       
   163          * @param aId: folder ID of local service.
       
   164          * @param aUnreadMessages: It will be True if Inbox has atleast
       
   165          *        one unread message.
       
   166          * @return TInt Return Message Count visble in messaging main view
       
   167          */
       
   168         TInt FindVisibleCountWithUnreadMessageL(TMsvId aFolderId , TBool& aUnreadMessages) const;
       
   169          
       
   170         
   148 #else
   171 #else
   149 
   172 
   150         /**
   173         /**
   151         * Checks if entry aId has unread children.
   174         * Checks if entry aId has unread children.
   152         * @param aId: folder or service to be checked.
   175         * @param aId: folder or service to be checked.
   251         TFileName                   iFilenameMuiu;
   274         TFileName                   iFilenameMuiu;
   252         TFileName                   iFilenameAvkon;
   275         TFileName                   iFilenameAvkon;
   253         TInt                        iBitmapsLoaded;
   276         TInt                        iBitmapsLoaded;
   254         
   277         
   255         TInt                        iDescriptionLength;
   278         TInt                        iDescriptionLength;
   256 
   279         
   257 
   280         /**
       
   281          * Email Framework Feature flag.
       
   282          * ETure if Feature in ON
       
   283          * otherwsie EFalse. 
       
   284          */
       
   285         TBool                       iEmailFramework;
   258     };
   286     };
   259 
   287 
   260 
   288 
   261 #endif
   289 #endif
   262 
   290