menufw/hierarchynavigator/hnpresentationmodel/inc/hnsuitemodel.h
branchRCL_3
changeset 26 1b758917cafc
parent 0 f72a12da539e
equal deleted inserted replaced
25:137ebc85284b 26:1b758917cafc
   376      * 
   376      * 
   377      * @since S60 v5.0
   377      * @since S60 v5.0
   378      * @return Custom identifier of the suite.
   378      * @return Custom identifier of the suite.
   379      */
   379      */
   380     IMPORT_C TInt64 CustomId();
   380     IMPORT_C TInt64 CustomId();
   381     
       
   382     /**
       
   383      * Activates highlight handling.
       
   384      * Used for highlight events for items.
       
   385      * 
       
   386      * @since S60 v5.0
       
   387      * @param aActive ETrue if active.
       
   388      */
       
   389     IMPORT_C void SetActiveL( TBool aActive );
       
   390     
       
   391     /**
       
   392      * Returns the state of the suite.
       
   393      * 
       
   394      * @since S60 v5.0
       
   395      * @return ETrue if active.
       
   396      */
       
   397     IMPORT_C TBool IsActive();
       
   398     
       
   399     /**
       
   400      * Notifies the model that the suite is visible.
       
   401      * Used for highlight events for items.
       
   402      * 
       
   403      * @since S60 v5.0
       
   404      * @param aVisible ETrue if visible.
       
   405      */
       
   406     IMPORT_C void SetVisibleL( TBool aVisible );
       
   407 
   381 
   408     /**
   382     /**
   409      * Returns item model matching given criteria.
   383      * Returns item model matching given criteria.
   410      * 
   384      * 
   411      * @param aCustomId Item's custom id.
   385      * @param aCustomId Item's custom id.
   466      * 
   440      * 
   467      * @since S60 v5.0
   441      * @since S60 v5.0
   468      * @param aGenreName Genre name for model
   442      * @param aGenreName Genre name for model
   469      */
   443      */
   470     void ConstructL( const TDesC& aGenreName );
   444     void ConstructL( const TDesC& aGenreName );
   471     
   445 
   472     /**
       
   473      * Launches the appropriate action if allowed.
       
   474      * Used for highlight events for items.
       
   475      * 
       
   476      * @since S60 v5.0
       
   477      * @param aItemId ID of the item.
       
   478      * @param aFocused ETrue if focused.
       
   479      */
       
   480     void HandleItemFocusL( TInt aItemId, TBool aFocused );
       
   481     
       
   482     /**
   446     /**
   483      * Set highlight on item.
   447      * Set highlight on item.
   484      * 
   448      * 
   485      * @since S60 v5.0
   449      * @since S60 v5.0
   486      * @param aCustomId Custom id of the item.
   450      * @param aCustomId Custom id of the item.
   570      * Used for executing item focused/unfocused events.
   534      * Used for executing item focused/unfocused events.
   571      * 
   535      * 
   572      * Not Own.
   536      * Not Own.
   573      */ 
   537      */ 
   574     CHnEventHandler& iEventHandler;
   538     CHnEventHandler& iEventHandler;
   575 		
       
   576     /**
       
   577      * Indicates if the suite is active.
       
   578      * Used for handling highlight events for items.
       
   579      */ 
       
   580     TBool iIsActive;
       
   581     
       
   582     /**
       
   583      * Indicates if the suite is visible.
       
   584      * Used for handling highlight events for items.
       
   585      */ 
       
   586     TBool iIsVisible;
       
   587     
   539     
   588     /**
   540     /**
   589      * Exit mode.
   541      * Exit mode.
   590      */
   542      */
   591     TExitMode iExitMode;
   543     TExitMode iExitMode;