--- a/taskswitcher/contextengine/tsfswserver/engine/inc/tsfswengine.h Tue Feb 02 00:04:13 2010 +0200
+++ b/taskswitcher/contextengine/tsfswserver/engine/inc/tsfswengine.h Fri Feb 19 22:42:37 2010 +0200
@@ -190,6 +190,13 @@
TInt FindParentWgId( TInt aWgId );
/**
+ * Returns the most top parent's wg id or KErrNotFound.
+ * @param aWgId a valid window group id
+ * @return parent wg id or KErrNotFound if there is no parent
+ */
+ TInt FindMostTopParentWgId( TInt aWgId );
+
+ /**
* Finds out the application name.
* @param aWindowName window group name or NULL
* @param aAppUId application uid
@@ -217,6 +224,16 @@
void AssignScreenshotHandle( TInt aWgIdForScreenshot, TInt aBitmapHandle );
/**
+ * Checks if the app to which the screenshot belongs is in the task list
+ * and updates the entry when found.
+ * @param aWgIdForScreenshot wgid for the screenshot
+ * @param aBitmapHandle handle for screenshot bitmap
+ * @param aAsigned result of operation
+ */
+ void AssignScreenshotHandle( TInt aWgIdForScreenshot,
+ TInt aBitmapHandle, TBool& aAsigned );
+
+ /**
* Returns the bitmap handle for the screenshot belonging to the given app
* or 0 if not (yet) found.
* @param aWgIdForApp a window group id (from the window group list)