equal
deleted
inserted
replaced
36 delete iAppInfo; |
36 delete iAppInfo; |
37 delete iApplication; |
37 delete iApplication; |
38 iFilesToRunBeforeShutdown.ResetAndDestroy(); |
38 iFilesToRunBeforeShutdown.ResetAndDestroy(); |
39 iFilesToRunAfterInstall.ResetAndDestroy(); |
39 iFilesToRunAfterInstall.ResetAndDestroy(); |
40 iAppArcRegFiles.ResetAndDestroy(); |
40 iAppArcRegFiles.ResetAndDestroy(); |
|
41 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
42 iAffectedApps.Close(); |
|
43 #endif |
41 } |
44 } |
42 |
45 |
43 EXPORT_C CPlan* CPlan::NewL() |
46 EXPORT_C CPlan* CPlan::NewL() |
44 { |
47 { |
45 CPlan* self=new (ELeave) CPlan(); |
48 CPlan* self=new (ELeave) CPlan(); |
150 |
153 |
151 EXPORT_C void CPlan::ResetAppArcRegFiles() |
154 EXPORT_C void CPlan::ResetAppArcRegFiles() |
152 { |
155 { |
153 iAppArcRegFiles.ResetAndDestroy(); |
156 iAppArcRegFiles.ResetAndDestroy(); |
154 } |
157 } |
155 |
|
156 |
158 |
|
159 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
160 EXPORT_C void CPlan::SetAffectedApps(RArray<TAppUpdateInfo>& aAppInfo) |
|
161 { |
|
162 TInt count = aAppInfo.Count(); |
|
163 for(TInt i = 0 ; i< count ; i++) |
|
164 { |
|
165 iAffectedApps.Append(aAppInfo[i]); |
|
166 } |
|
167 } |
|
168 |
|
169 EXPORT_C void CPlan::GetAffectedApps(RArray<TAppUpdateInfo>& aAppInfo) const |
|
170 { |
|
171 TInt count = iAffectedApps.Count(); |
|
172 for(TInt i = 0 ; i< count ; i++) |
|
173 { |
|
174 aAppInfo.Append(iAffectedApps[i]); |
|
175 } |
|
176 } |
|
177 |
|
178 EXPORT_C void CPlan::ResetAffectedApps() |
|
179 { |
|
180 iAffectedApps.Reset(); |
|
181 } |
|
182 #endif |