ChspsRomInstaller Class Reference

class ChspsRomInstaller : public CActive
ROM installer hspsThemeServer.exe
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

ChspsRomInstaller(ChspsThemeServer &, RFs &, const TBool)

ChspsRomInstaller(ChspsThemeServer &aThemeServer,
RFs &aFsSession,
const TBoolaInstallUdaEmmc
)[protected]
ChspsRomInstaller. Performs the first phase of two phase construction.
Since
S60 5.0

Parameters

ChspsThemeServer & aThemeServer
RFs & aFsSessionis a reference to file server instance
const TBool aInstallUdaEmmcis set if UDA and eMMC drives should be utilized

~ChspsRomInstaller()

~ChspsRomInstaller()[virtual]
~ChspsRomInstaller. Destructor. Destroys the object and release all memory objects.
Since
S60 5.0

Member Functions Documentation

ConstructL()

voidConstructL()[protected]
ConstructL. Performs the second phase construction of a ChspsRomInstaller object.
Since
S60 5.0

DoCancel()

voidDoCancel()[protected, virtual]
DoCancel. From CActive, cancels any outstanding operation.
Since
S60 5.0

DoFindInstallationFilesL(RPointerArray< HBufC > &, const TDesC &)

voidDoFindInstallationFilesL(RPointerArray< HBufC > &aFileArray,
const TDesC &aPath
)[protected]

Parameters

RPointerArray< HBufC > & aFileArray
const TDesC & aPath

FindInstallationFileL(const TInt, TFileName &)

voidFindInstallationFileL(const TIntaConfigurationUid,
TFileName &aManifest
)[protected]
Finds an installation file from a directory structure which has UID in hex format as folder name.
Since
S60 5.2

Parameters

const TInt aConfigurationUidConfiguration to be found
TFileName & aManifestFound manifest file

FindInstallationFilesL(RPointerArray< HBufC > &)

voidFindInstallationFilesL(RPointerArray< HBufC > &aFileArray)[protected]
Retrieves manifest files from all internal drives in \private\ paths.
Since
S60 5.0

Parameters

RPointerArray< HBufC > & aFileArrayAn array of file names

InstallL()

voidInstallL()
Installs all plugin configurations which can be found from the internal drives.
Since
S60 5.2

InstallThemeL(const TDesC &)

ThspsServiceCompletedMessage InstallThemeL(const TDesC &aFileName)
Installs a plugin configuration from the provided manifest file (synchronous).
Since
S60 5.0

Parameters

const TDesC & aFileNameis name of the manifest file to be installed.

NewL(ChspsThemeServer &, RFs &, const TBool)

ChspsRomInstaller *NewL(ChspsThemeServer &aThemeServer,
RFs &aFsSession,
const TBoolaInstallUdaEmmc = ETrue
)[static]
NewL. Two-phased constructor. Creates a ChspsRomInstaller object using two phase construction, and return a pointer to the created object.
Since
S60 5.0

Parameters

ChspsThemeServer & aThemeServeris a reference to theme server instance
RFs & aFsSessionis a reference to file server instance
const TBool aInstallUdaEmmc = ETrueis set if UDA and eMMC drives should be utilized

ReinstallThemeL(const TInt, const TInt)

ThspsServiceCompletedMessage ReinstallThemeL(const TIntaAppUid,
const TIntaConfigurationUid
)
Re-installs an application plugin configuration (synchronous).
Since
S60 5.0

Parameters

const TInt aAppUidis UID of an application
const TInt aConfigurationUidis UID of an application plugin configuration

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]
RunError. From CActive Called when asynchronous request has failed
Since
S60 5.0

Parameters

TInt aError

RunL()

voidRunL()[protected, virtual]
RunL. From CActive, callback function. Invoked to handle responses from the server.
Since
S60 5.0

Member Data Documentation

RFs & iFsSession

RFs &iFsSession[private]

TBuf8< KMaxHeaderDataLength8 > iHeaderData

TBuf8< KMaxHeaderDataLength8 >iHeaderData[private]

TBool iInstallUdaEmmc

TBool iInstallUdaEmmc[private]

ChspsInstallationHandler * iInstallationHandler

ChspsInstallationHandler *iInstallationHandler[private]

ThspsServiceCompletedMessage iRet

ThspsServiceCompletedMessage iRet[private]

ChspsThemeServer & iThemeServer

ChspsThemeServer &iThemeServer[private]