--- a/tstaskmonitor/server/src/tsrunningappstorage.cpp Mon May 24 20:50:46 2010 +0300
+++ b/tstaskmonitor/server/src/tsrunningappstorage.cpp Fri May 28 16:17:03 2010 +0300
@@ -19,7 +19,7 @@
#include "tsfswmonitor.h"
#include "tsfswentry.h"
#include <s32strm.h>
-#include <S32MEM.H>
+#include <s32mem.h>
// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
@@ -84,13 +84,12 @@
{
mObserver.DataChanged();
}
-
- int a=8;
- if( a==9)
- {
- CActiveScheduler::Stop();
- }
}
+
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
void CRunningAppStorage::DataChangedL()
{
RTsFswArray taskList = mEngine->FswDataL();
@@ -110,6 +109,24 @@
CleanupStack::PopAndDestroy(buf);
- CleanupStack::PopAndDestroy(entry);
-
+ CleanupStack::PopAndDestroy(entry);
}
+
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CRunningAppStorage::UpdateL(TInt key, const CFbsBitmap& data, TInt /*param*/, TInt priority)
+ {
+ UpdatePriority newpriority = static_cast<UpdatePriority>(priority);
+ mEngine->SetScreenshotL(&data, newpriority, key);
+ }
+
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CRunningAppStorage::RemoveL(TInt key, TInt /*param*/)
+ {
+ mEngine->RemoveScreenshotL(key);
+ }