taskswitcher/contextengine/tsfswserver/engine/inc/tsfswdatalist.h
branchRCL_3
changeset 23 7be2816dbabd
parent 19 79311d856354
child 25 137ebc85284b
equal deleted inserted replaced
19:79311d856354 23:7be2816dbabd
   145      * @param   aWgId   a valid window group id
   145      * @param   aWgId   a valid window group id
   146      * @return  application uid
   146      * @return  application uid
   147      */
   147      */
   148     TUid AppUidForWgIdL( TInt aWgId );
   148     TUid AppUidForWgIdL( TInt aWgId );
   149 
   149 
       
   150     /**
       
   151      * Returns the most top parent's wg id or KErrNotFound.
       
   152      * @param   aWgId   a valid window group id
       
   153      * @return parent wg id or KErrNotFound if there is no parent
       
   154      */
       
   155     TInt FindMostTopParentWgId( TInt aWgId );
       
   156     
   150 private:
   157 private:
   151     /**
   158     /**
   152      * Adds running apps to the list.
   159      * Adds running apps to the list.
   153      * @param   aAppsList    array to add to
   160      * @param   aAppsList    array to add to
   154      */
   161      */
   198      * @return parent wg id or KErrNotFound if there is no parent
   205      * @return parent wg id or KErrNotFound if there is no parent
   199      */
   206      */
   200     TInt FindParentWgId( TInt aWgId );
   207     TInt FindParentWgId( TInt aWgId );
   201 
   208 
   202     /**
   209     /**
   203      * Returns the most top parent's wg id or KErrNotFound.
       
   204      * @param   aWgId   a valid window group id
       
   205      * @return parent wg id or KErrNotFound if there is no parent
       
   206      */
       
   207     TInt FindMostTopParentWgId( TInt aWgId );
       
   208 
       
   209     /**
       
   210      * Finds out the application name.
   210      * Finds out the application name.
   211      * @param   aWindowName window group name or NULL
   211      * @param   aWindowName window group name or NULL
   212      * @param   aAppUId     application uid
   212      * @param   aAppUId     application uid
   213      * @param   aWgId       window group id
   213      * @param   aWgId       window group id
   214      * @return  application name, ownership transferred to caller
   214      * @return  application name, ownership transferred to caller