taskswitcher/contextengine/tsfswserver/engine/inc/tsfswengine.h
branchRCL_3
changeset 9 f966699dea19
parent 4 4d54b72983ae
child 15 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
   188      * @return parent wg id or KErrNotFound if there is no parent
   188      * @return parent wg id or KErrNotFound if there is no parent
   189      */
   189      */
   190     TInt FindParentWgId( TInt aWgId );
   190     TInt FindParentWgId( TInt aWgId );
   191     
   191     
   192     /**
   192     /**
       
   193      * Returns the most top parent's wg id or KErrNotFound.
       
   194      * @param   aWgId   a valid window group id
       
   195      * @return parent wg id or KErrNotFound if there is no parent
       
   196      */
       
   197     TInt FindMostTopParentWgId( TInt aWgId );
       
   198     
       
   199     /**
   193      * Finds out the application name.
   200      * Finds out the application name.
   194      * @param   aWindowName window group name or NULL
   201      * @param   aWindowName window group name or NULL
   195      * @param   aAppUId     application uid
   202      * @param   aAppUId     application uid
   196      * @param   aWgId       window group id
   203      * @param   aWgId       window group id
   197      * @return  application name, ownership transferred to caller
   204      * @return  application name, ownership transferred to caller
   213      * to observer when data is modified.
   220      * to observer when data is modified.
   214      * @param   aWgIdForScreenshot  wgid for the screenshot 
   221      * @param   aWgIdForScreenshot  wgid for the screenshot 
   215      * @param   aBitmapHandle       handle for screenshot bitmap
   222      * @param   aBitmapHandle       handle for screenshot bitmap
   216      */
   223      */
   217     void AssignScreenshotHandle( TInt aWgIdForScreenshot, TInt aBitmapHandle );
   224     void AssignScreenshotHandle( TInt aWgIdForScreenshot, TInt aBitmapHandle );
       
   225     
       
   226     /**
       
   227      * Checks if the app to which the screenshot belongs is in the task list
       
   228      * and updates the entry when found. 
       
   229      * @param   aWgIdForScreenshot  wgid for the screenshot 
       
   230      * @param   aBitmapHandle       handle for screenshot bitmap
       
   231      * @param   aAsigned       		result of operation
       
   232      */
       
   233     void AssignScreenshotHandle( TInt aWgIdForScreenshot,
       
   234             TInt aBitmapHandle, TBool& aAsigned  );
   218     
   235     
   219     /**
   236     /**
   220      * Returns the bitmap handle for the screenshot belonging to the given app
   237      * Returns the bitmap handle for the screenshot belonging to the given app
   221      * or 0 if not (yet) found.
   238      * or 0 if not (yet) found.
   222      * @param   aWgIdForApp     a window group id (from the window group list)
   239      * @param   aWgIdForApp     a window group id (from the window group list)