menufw/menufwui/mmwidgets/inc/mmwidgetcontainer.h
changeset 4 4d54b72983ae
parent 2 08c6ee43b396
child 9 f966699dea19
equal deleted inserted replaced
3:fb3763350a08 4:4d54b72983ae
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description:
    15 *  Version     : %version: MM_48.1.36 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: MM_48.1.37 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef MMMWIDGETCONTAINER_H
    20 #ifndef MMMWIDGETCONTAINER_H
   180      *
   180      *
   181      * @since S60 v3.0
   181      * @since S60 v3.0
   182      * @param aVisible Visibility status.
   182      * @param aVisible Visibility status.
   183      */
   183      */
   184 	IMPORT_C virtual void SetHighlightVisibilityL( TBool aVisible );
   184 	IMPORT_C virtual void SetHighlightVisibilityL( TBool aVisible );
   185 
   185 	
   186     /**
   186     /**
   187      * Set highlight visibility.
   187      * Set highlight visibility.
   188      *
   188      *
   189      * @since S60 v3.0
   189      * @since S60 v3.0
   190      * @return Visibility status.
   190      * @return Visibility status.
   226      *
   226      *
   227      * LIW objects owned by non-LIW objects that are owned by
   227      * LIW objects owned by non-LIW objects that are owned by
   228      * this object are also removed.
   228      * this object are also removed.
   229 	 */
   229 	 */
   230 	virtual void RemoveLiwObjects();
   230 	virtual void RemoveLiwObjects();
   231 
       
   232 	/**
       
   233 	 * Checks if timer is active.
       
   234 	 * Calling this method without parameters will cause to return
       
   235 	 * timer activity state globally (without reference to a specific item index - which tells
       
   236 	 * if timer is active at all).
       
   237      *
       
   238      * @param aItemIndex Item index for which to check timer activity. Can be not defined.
       
   239      * @return ETrue if timer is active which means highlight is visible.
       
   240 	 */
       
   241 	TBool IsTimerActive( TInt aItemIndex = KErrNotFound );
       
   242 
   231 
   243 	/**
   232 	/**
   244 	 * Sets the long tap observer.
   233 	 * Sets the long tap observer.
   245      *
   234      *
   246      * @param aObserver Observer to receive long tap events.
   235      * @param aObserver Observer to receive long tap events.
   253 	 * 
   242 	 * 
   254 	 * @param aStopTimer ETrue when the highlight timer should be stopped.
   243 	 * @param aStopTimer ETrue when the highlight timer should be stopped.
   255 	 */
   244 	 */
   256 	IMPORT_C virtual void EndLongTapL( TBool aStopTimer = ETrue );
   245 	IMPORT_C virtual void EndLongTapL( TBool aStopTimer = ETrue );
   257 
   246 
   258 	/**
       
   259 	 * Is called when options menu visibility changes (hides or pops up)
       
   260 	 * @param aOptionsMenuVisible ETrue when option menu pops up.
       
   261 	 */
       
   262 	IMPORT_C virtual void HandleOptionsMenuVisibilityChangeL(
       
   263 			TBool aOptionsMenuVisible );
       
   264 public:
   247 public:
   265 
   248 
   266 	/**
   249 	/**
   267 	 * Sets suite model.
   250 	 * Sets suite model.
   268 	 *
   251 	 *
   670     /**
   653     /**
   671      * Sets the iIsFaded member variable, which is used to determine
   654      * Sets the iIsFaded member variable, which is used to determine
   672      * if marquee animation can be enabled.
   655      * if marquee animation can be enabled.
   673      */
   656      */
   674     IMPORT_C void SetIsFaded( TBool aIsFaded );
   657     IMPORT_C void SetIsFaded( TBool aIsFaded );
       
   658     
       
   659     /**
       
   660      * Determines if long tap is in progress.
       
   661      * 
       
   662      * @return ETrue if long tap is in progress.
       
   663      */
       
   664     TBool LongTapInProgress() const;
   675 
   665 
   676 public: // from MMmVisibilityObserver
   666 public: // from MMmVisibilityObserver
   677 
   667 
   678     /**
   668     /**
   679      *
   669      *
   882      /**
   872      /**
   883       * List box observer.
   873       * List box observer.
   884       */
   874       */
   885      MEikListBoxObserver* iListBoxObserver;
   875      MEikListBoxObserver* iListBoxObserver;
   886 
   876 
   887      /**
       
   888      * Notifies about time expiration.
       
   889      *
       
   890      * Owned by descendant.
       
   891      */
       
   892     CMmHighlightTimer* iTimer;
       
   893 
       
   894     /**
   877     /**
   895      * Marquee adapter.
   878      * Marquee adapter.
   896      * Own.
   879      * Own.
   897      */
   880      */
   898     CMmMarqueeAdapter* iMarqueeAdapter;
   881     CMmMarqueeAdapter* iMarqueeAdapter;