diff -r 5cc91383ab1e -r 7333d7932ef7 installationservices/swi/inc/swi/siscontroller.h --- a/installationservices/swi/inc/swi/siscontroller.h Thu Aug 19 10:02:49 2010 +0300 +++ b/installationservices/swi/inc/swi/siscontroller.h Tue Aug 31 15:21:33 2010 +0300 @@ -33,6 +33,7 @@ #include "sissignaturecertificatechain.h" #include "sispackagetrust.h" #include +#include "nativecomponentinfo.h" namespace Swi { @@ -41,7 +42,7 @@ class CCertChainConstraints; namespace Sis - { +{ class CInfo; class CPrerequisites; @@ -320,7 +321,27 @@ */ inline void SetHasExecutable(TBool aHasExe); - #endif + /** Returns a flag + @return iIsDriveSelectionRequired TBool flag + */ + inline TBool CController::DriveSelectionRequired() const; + + /** Sets the status of flag + @param aIsDriveSelectionRequired TBool + */ + inline void CController::SetDriveSelectionRequired(TBool aIsDriveSelectionRequired); + + /** Returns a pointer array of CNativeApplicationInfo + @return RPointerArray iApplicationInfo + */ + inline RCPointerArray& CController::GetApplicationInfo(); + + /** Adds the application Info to the array of CNativeApplicationInfo + @param aApplicationInfo The info for a native application + */ + inline void CController::AddApplicationInfoL(const CNativeComponentInfo::CNativeApplicationInfo* aApplicationInfo); + + #endif private: @@ -372,6 +393,8 @@ TBool iHasExe; ///< Indicates Whether the component has an exe or not + TBool iIsDriveSelectionRequired; ///< Indicates Whether drive selection is required or not. + mutable TSisTrustStatus* iTrustStatus; ///< The install trust status mutable RArray iCertChainIndices; ///< Contains the indexes of the chains @@ -379,6 +402,7 @@ mutable TInt iRemoveWithLastDependent; ///< Whether uninstall with last dependent #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK + RCPointerArray iApplicationInfo; ///< Pointer Array of application info objects CNativeApplicationInfo. TCapabilitySet iUserGrantableCapabilities; #endif @@ -481,9 +505,30 @@ { iHasExe = aHasExe; } + +inline TBool CController::DriveSelectionRequired() const + { + return iIsDriveSelectionRequired; + } + +inline void CController::SetDriveSelectionRequired(TBool aIsDriveSelectionRequired) + { + iIsDriveSelectionRequired = aIsDriveSelectionRequired; + } + +inline RCPointerArray& CController::GetApplicationInfo() + { + return iApplicationInfo; + } + +inline void CController::AddApplicationInfoL(const CNativeComponentInfo::CNativeApplicationInfo* aApplicationInfo) + { + iApplicationInfo.AppendL(aApplicationInfo); + } + #endif - } // namespace Sis +} // namespace Sis } // namespace Swi