uiacceltk/hitchcock/goommonitor/inc/goomwindowgrouplist.h
branchRCL_3
changeset 8 10534483575f
parent 3 d8a3531bc6b8
child 29 ac3859d43844
--- a/uiacceltk/hitchcock/goommonitor/inc/goomwindowgrouplist.h	Fri Mar 12 15:47:04 2010 +0200
+++ b/uiacceltk/hitchcock/goommonitor/inc/goomwindowgrouplist.h	Mon Mar 15 12:43:37 2010 +0200
@@ -21,6 +21,8 @@
 #include <e32base.h>
 #include <e32hashtab.h>
 #include <w32std.h>
+#include <goommonitorplugin.hrh>
+#include "alfdecoderserverclient.h"
 
 class CApaWindowGroupName;
 
@@ -76,11 +78,24 @@
     
     // Find all the windowgroups in the list that matches application id for this window group
     void GetAllWgIdsMatchingAppId(TInt aWgId, RArray<TInt> & WgIdList) const;
+
+    TInt LowOnMemWgs(TInt aIndex) 
+        {
+        if (aIndex >= iLowOnMemWgs.Count() || aIndex < 0)
+            {
+            return KErrNotFound;
+            }    
+        else
+            {
+            return iLowOnMemWgs[aIndex];
+            }
+        }
+
     
     
 private:    
 
-    void CollapseWindowGroupTree();
+    void CollapseWindowGroupTree(RArray<TInt>& aWgsHavingSurfaces);
     
     void RemovePropertiesForClosedWindowsL();
 
@@ -117,6 +132,8 @@
         
     CApaWindowGroupName* iWgName;
     HBufC* iWgNameBuf;              // owned by iWgName
+    RArray<TInt> iLowOnMemWgs;
+    RAlfBridgerClient iAlfClient;
     };
 
 #include "goomwindowgrouplist.inl"