diff -r efda7c0771b9 -r 7b66bc3c6dc9 taskswitcher/server/inc/tsrunningappstorageimp.h --- a/taskswitcher/server/inc/tsrunningappstorageimp.h Wed Oct 13 12:59:22 2010 +0300 +++ b/taskswitcher/server/inc/tsrunningappstorageimp.h Mon Oct 18 10:44:15 2010 +0300 @@ -25,6 +25,7 @@ { public: static CTsRunningAppStorage* NewLC(); + static CTsRunningAppStorage* NewL(); ~CTsRunningAppStorage(); void HandleWindowGroupChanged( MTsResourceManager &aResources, @@ -34,20 +35,24 @@ const TArray& aWindowGroups, const TArray& aFilteredWindowGroups); public: - const MTsRunningApplication& operator[] (TInt aOffset) const; + MTsRunningApplication& operator[] (TInt aOffset) const; TInt Count() const; TInt ParentIndex( const MTsRunningApplication& aRunningApp ) const; TArray BlockedWindowGroups() const; + TInt GenerateKey( TTsEntryKey& aReturnKey, TInt aWindowGroupId) const; private: TInt ParentIndex( TInt aOffset ) const; TInt Find(TInt aWindowGroupId, TInt aOffset =0) const; + TInt GenerateKey( TTsEntryKey& aReturnKey, + TInt aWindowGroupId, + TInt aOffset) const; private: CTsRunningAppStorage(); private: - RPointerArray iRunningApps; + CArrayPtr *iRunningApps; RArray iBlockedWindowGroups; };