installationservices/swi/source/plan/plan.cpp
changeset 25 98b66e4fb0be
parent 0 ba25891c3a9e
child 66 8b7f4e561641
--- a/installationservices/swi/source/plan/plan.cpp	Fri Mar 19 09:33:35 2010 +0200
+++ b/installationservices/swi/source/plan/plan.cpp	Fri Apr 16 15:05:20 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