--- a/installationservices/swi/source/plan/plan.cpp Thu Aug 19 10:02:49 2010 +0300
+++ b/installationservices/swi/source/plan/plan.cpp Tue Aug 31 15:21:33 2010 +0300
@@ -38,6 +38,9 @@
iFilesToRunBeforeShutdown.ResetAndDestroy();
iFilesToRunAfterInstall.ResetAndDestroy();
iAppArcRegFiles.ResetAndDestroy();
+#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
+ iAffectedApps.Close();
+#endif
}
EXPORT_C CPlan* CPlan::NewL()
@@ -152,5 +155,28 @@
{
iAppArcRegFiles.ResetAndDestroy();
}
-
+#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
+EXPORT_C void CPlan::SetAffectedApps(RArray<TAppUpdateInfo>& aAppInfo)
+ {
+ TInt count = aAppInfo.Count();
+ for(TInt i = 0 ; i< count ; i++)
+ {
+ iAffectedApps.Append(aAppInfo[i]);
+ }
+ }
+
+EXPORT_C void CPlan::GetAffectedApps(RArray<TAppUpdateInfo>& aAppInfo) const
+ {
+ TInt count = iAffectedApps.Count();
+ for(TInt i = 0 ; i< count ; i++)
+ {
+ aAppInfo.Append(iAffectedApps[i]);
+ }
+ }
+
+EXPORT_C void CPlan::ResetAffectedApps()
+ {
+ iAffectedApps.Reset();
+ }
+#endif