diff -r 433cbbb6a04b -r 10534483575f uiacceltk/hitchcock/goommonitor/inc/goomwindowgrouplist.h --- 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 #include #include +#include +#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 & WgIdList) const; + + TInt LowOnMemWgs(TInt aIndex) + { + if (aIndex >= iLowOnMemWgs.Count() || aIndex < 0) + { + return KErrNotFound; + } + else + { + return iLowOnMemWgs[aIndex]; + } + } + private: - void CollapseWindowGroupTree(); + void CollapseWindowGroupTree(RArray& aWgsHavingSurfaces); void RemovePropertiesForClosedWindowsL(); @@ -117,6 +132,8 @@ CApaWindowGroupName* iWgName; HBufC* iWgNameBuf; // owned by iWgName + RArray iLowOnMemWgs; + RAlfBridgerClient iAlfClient; }; #include "goomwindowgrouplist.inl"