appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp
changeset 44 329d304c1aa1
parent 42 d17dc5398051
child 50 c6e8afe0ba85
--- a/appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp	Fri Jun 11 13:45:18 2010 +0300
+++ b/appinstaller/AppinstUi/sisxsifplugin/src/sisxsifplugininstallparams.cpp	Thu Jun 24 12:37:54 2010 +0300
@@ -198,6 +198,15 @@
     }
 
 // ---------------------------------------------------------------------------
+// CSisxSifPluginInstallParams::AllowIncompatible()
+// ---------------------------------------------------------------------------
+//
+TSifPolicy CSisxSifPluginInstallParams::AllowIncompatible() const
+    {
+    return iAllowIncompatible;
+    }
+
+// ---------------------------------------------------------------------------
 // CSisxSifPluginInstallParams::CSisxSifPluginInstallParams()
 // ---------------------------------------------------------------------------
 //
@@ -229,6 +238,7 @@
             EAllowed );
     GetPolicyParam( aParams, KSifInParam_AllowOverwrite, iAllowOverwrite, EAllowed );
     GetPolicyParam( aParams, KSifInParam_PackageInfo, iPackageInfo, EAllowed );
+    GetPolicyParam( aParams, KSifInParam_AllowIncompatible, iAllowIncompatible, EAllowed );
     }
 
 // ---------------------------------------------------------------------------
@@ -255,6 +265,7 @@
     iAllowAppBreakDependency = aParams.iAllowAppBreakDependency;
     iAllowOverwrite = aParams.iAllowOverwrite;
     iPackageInfo = aParams.iPackageInfo;
+    iAllowIncompatible = aParams.iAllowIncompatible;
     }
 
 // ---------------------------------------------------------------------------
@@ -271,7 +282,7 @@
         {
         return value;
         }
-	return aDefaultValue;
+    return aDefaultValue;
     }
 
 // ---------------------------------------------------------------------------