193 // --------------------------------------------------------------------------- |
193 // --------------------------------------------------------------------------- |
194 // |
194 // |
195 TSifPolicy CSisxSifPluginInstallParams::PackageInfo() const |
195 TSifPolicy CSisxSifPluginInstallParams::PackageInfo() const |
196 { |
196 { |
197 return iPackageInfo; |
197 return iPackageInfo; |
|
198 } |
|
199 |
|
200 // --------------------------------------------------------------------------- |
|
201 // CSisxSifPluginInstallParams::AllowIncompatible() |
|
202 // --------------------------------------------------------------------------- |
|
203 // |
|
204 TSifPolicy CSisxSifPluginInstallParams::AllowIncompatible() const |
|
205 { |
|
206 return iAllowIncompatible; |
198 } |
207 } |
199 |
208 |
200 // --------------------------------------------------------------------------- |
209 // --------------------------------------------------------------------------- |
201 // CSisxSifPluginInstallParams::CSisxSifPluginInstallParams() |
210 // CSisxSifPluginInstallParams::CSisxSifPluginInstallParams() |
202 // --------------------------------------------------------------------------- |
211 // --------------------------------------------------------------------------- |
227 GetPolicyParam( aParams, KSifInParam_AllowAppShutdown, iAllowAppShutdown, EAllowed ); |
236 GetPolicyParam( aParams, KSifInParam_AllowAppShutdown, iAllowAppShutdown, EAllowed ); |
228 GetPolicyParam( aParams, KSifInParam_AllowAppBreakDependency, iAllowAppBreakDependency, |
237 GetPolicyParam( aParams, KSifInParam_AllowAppBreakDependency, iAllowAppBreakDependency, |
229 EAllowed ); |
238 EAllowed ); |
230 GetPolicyParam( aParams, KSifInParam_AllowOverwrite, iAllowOverwrite, EAllowed ); |
239 GetPolicyParam( aParams, KSifInParam_AllowOverwrite, iAllowOverwrite, EAllowed ); |
231 GetPolicyParam( aParams, KSifInParam_PackageInfo, iPackageInfo, EAllowed ); |
240 GetPolicyParam( aParams, KSifInParam_PackageInfo, iPackageInfo, EAllowed ); |
|
241 GetPolicyParam( aParams, KSifInParam_AllowIncompatible, iAllowIncompatible, EAllowed ); |
232 } |
242 } |
233 |
243 |
234 // --------------------------------------------------------------------------- |
244 // --------------------------------------------------------------------------- |
235 // CSisxSifPluginInstallParams::ConstructL() |
245 // CSisxSifPluginInstallParams::ConstructL() |
236 // --------------------------------------------------------------------------- |
246 // --------------------------------------------------------------------------- |
253 iGrantCapabilities = aParams.iGrantCapabilities; |
263 iGrantCapabilities = aParams.iGrantCapabilities; |
254 iAllowAppShutdown = aParams.iAllowAppShutdown; |
264 iAllowAppShutdown = aParams.iAllowAppShutdown; |
255 iAllowAppBreakDependency = aParams.iAllowAppBreakDependency; |
265 iAllowAppBreakDependency = aParams.iAllowAppBreakDependency; |
256 iAllowOverwrite = aParams.iAllowOverwrite; |
266 iAllowOverwrite = aParams.iAllowOverwrite; |
257 iPackageInfo = aParams.iPackageInfo; |
267 iPackageInfo = aParams.iPackageInfo; |
|
268 iAllowIncompatible = aParams.iAllowIncompatible; |
258 } |
269 } |
259 |
270 |
260 // --------------------------------------------------------------------------- |
271 // --------------------------------------------------------------------------- |
261 // CSisxSifPluginInstallParams::GetIntParam() |
272 // CSisxSifPluginInstallParams::GetIntParam() |
262 // --------------------------------------------------------------------------- |
273 // --------------------------------------------------------------------------- |
269 TRAPD( err, paramFound = aParams.GetIntByNameL( aParamName, value ) ); |
280 TRAPD( err, paramFound = aParams.GetIntByNameL( aParamName, value ) ); |
270 if( !err && paramFound ) |
281 if( !err && paramFound ) |
271 { |
282 { |
272 return value; |
283 return value; |
273 } |
284 } |
274 return aDefaultValue; |
285 return aDefaultValue; |
275 } |
286 } |
276 |
287 |
277 // --------------------------------------------------------------------------- |
288 // --------------------------------------------------------------------------- |
278 // CSisxSifPluginInstallParams::GetPolicyParam() |
289 // CSisxSifPluginInstallParams::GetPolicyParam() |
279 // --------------------------------------------------------------------------- |
290 // --------------------------------------------------------------------------- |