taskswitcher/contextengine/tsfswserver/engine/inc/tsfswdatalist.h
branchRCL_3
changeset 25 137ebc85284b
parent 23 7be2816dbabd
equal deleted inserted replaced
23:7be2816dbabd 25:137ebc85284b
    92      * Return containd iWidgetList member
    92      * Return containd iWidgetList member
    93      */
    93      */
    94     CTsFsWidgetList* Widgets();
    94     CTsFsWidgetList* Widgets();
    95 
    95 
    96     /**
    96     /**
    97      * Set flag iTaskListDirty;
       
    98      */
       
    99     void SetDirty();
       
   100 
       
   101     /**
       
   102      * Set flag iAppDataRefreshNeeded
    97      * Set flag iAppDataRefreshNeeded
   103      */
    98      */
   104     void SetAppDataRefreshNeeded();
    99     void SetAppDataRefreshNeeded();
   105 
   100 
   106     /**
   101     /**
   120 
   115 
   121     /**
   116     /**
   122      * Moves entry on given window app/widget id to 
   117      * Moves entry on given window app/widget id to 
   123      * the first position on conten data list
   118      * the first position on conten data list
   124      */
   119      */
   125     void MoveEntryAtStart( TInt aAppId, TBool aWidget );
   120     TBool MoveEntryAtStart( TInt aAppId, TBool aWidget );
   126     
   121     
   127     /**
   122     /**
   128      * If application uid exists in the contained CTsFsAlwaysShownAppList 
   123      * If application uid exists in the contained CTsFsAlwaysShownAppList 
   129      * @return   ETrue  application uid exists in the list
   124      * @return   ETrue  application uid exists in the list
   130      *           EFalse application uid doesn't exist in the list
   125      *           EFalse application uid doesn't exist in the list
   264      * @param   aNewList    ref to list
   259      * @param   aNewList    ref to list
   265      * @return  ETrue if app was found
   260      * @return  ETrue if app was found
   266      */
   261      */
   267     TBool CheckIfExists( const CTsFswEntry& aEntry,
   262     TBool CheckIfExists( const CTsFswEntry& aEntry,
   268             const RTsFswArray& aNewList ) const;
   263             const RTsFswArray& aNewList ) const;
       
   264     
       
   265     /**
       
   266      * Set flag iTaskListDirty;
       
   267      * @param aDirty new flag value. 
       
   268      */
       
   269     void SetDirty( TBool aDirty );
       
   270     
       
   271     /**
       
   272      * Removes the screenshot handle from content entry.
       
   273      * Reverts to parental screenshot, if previously was set to embeded.
       
   274      * @param aBmpHandle handle of removed screenshot. 
       
   275      */
       
   276     TBool RemoveScreenshotFromParent( TInt aBmpHandle );
   269 
   277 
   270 private:
   278 private:
   271     CTsFswEngine& iEngine;
   279     CTsFswEngine& iEngine;
   272 
   280 
   273     RTsFswArray iData; // current fsw content, i.e. the task list
   281     RTsFswArray iData; // current fsw content, i.e. the task list