messagingappbase/mce/inc/MceMainViewListItemArray.h
branchRCL_3
changeset 28 fbb813aef148
parent 22 52d61119153d
equal deleted inserted replaced
24:e00582ce7ecd 28:fbb813aef148
    63         * Called when idle loader has changed main view text
    63         * Called when idle loader has changed main view text
    64         * TODO: add what has happened, add, remove, update etc.?
    64         * TODO: add what has happened, add, remove, update etc.?
    65         */
    65         */
    66         virtual void MceListItemArrayChangedL(
    66         virtual void MceListItemArrayChangedL(
    67         ) = 0;
    67         ) = 0;
       
    68         
       
    69         /**
       
    70          * Called when Main view refresh is happening 
       
    71          * and need to know flick is ON\OFF
       
    72          */
       
    73         virtual TBool MceListItemArrayFlickEvent(
       
    74         ) = 0;
       
    75         
    68     };
    76     };
    69     
    77     
    70 
    78 
    71 // CLASS DECLARATION
    79 // CLASS DECLARATION
    72 
    80 
   455         * when refresh is needed, no need to open cenrep file again.
   463         * when refresh is needed, no need to open cenrep file again.
   456         * @since S60 v5.0
   464         * @since S60 v5.0
   457         */
   465         */
   458         void ReadMainViewItemsFromRepositoryL();
   466         void ReadMainViewItemsFromRepositoryL();
   459     
   467     
   460         //Calculates the visible count excluding FS email stuff
       
   461         TInt FindVisibleCountL(TMsvId serviceId) const;
       
   462          /**
   468          /**
   463          * Creates Conversation string for main view listbox. 
   469          * Creates Conversation string for main view listbox. 
   464          * @param aIndex: index of the message to be drawn
   470          * @param aIndex: index of the message to be drawn
   465          */
   471          */
   466          TPtrC CreateConversationsListItem( TInt aIndex ) const;
   472          TPtrC CreateConversationsListItem( TInt aIndex ) const;