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 TBool aInstallUdaEmmc
) [protected]
ChspsRomInstaller . Performs the first phase of two phase construction.
Since
S60 5.0

Parameters

ChspsThemeServer & aThemeServer
RFs & aFsSession is a reference to file server instance
const TBool aInstallUdaEmmc is 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()

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

DoCancel()

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

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

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

Parameters

RPointerArray < HBufC > & aFileArray
const TDesC & aPath

FindInstallationFileL(const TInt, TFileName &)

void FindInstallationFileL ( const TInt aConfigurationUid,
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 aConfigurationUid Configuration to be found
TFileName & aManifest Found manifest file

FindInstallationFilesL(RPointerArray< HBufC > &)

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

Parameters

RPointerArray < HBufC > & aFileArray An array of file names

InstallL()

void InstallL ( )
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 & aFileName is name of the manifest file to be installed.

NewL(ChspsThemeServer &, RFs &, const TBool)

ChspsRomInstaller * NewL ( ChspsThemeServer & aThemeServer,
RFs & aFsSession,
const TBool aInstallUdaEmmc = 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 & aThemeServer is a reference to theme server instance
RFs & aFsSession is a reference to file server instance
const TBool aInstallUdaEmmc = ETrue is set if UDA and eMMC drives should be utilized

ReinstallThemeL(const TInt, const TInt)

ThspsServiceCompletedMessage ReinstallThemeL ( const TInt aAppUid,
const TInt aConfigurationUid
)
Re-installs an application plugin configuration (synchronous).
Since
S60 5.0

Parameters

const TInt aAppUid is UID of an application
const TInt aConfigurationUid is UID of an application plugin configuration

RunError(TInt)

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

Parameters

TInt aError

RunL()

void RunL ( ) [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]