ChspsThemeServerSession Class Reference

class ChspsThemeServerSession : public CSession2

This class provides HSPS Server Session

Inherits from

Public Member Functions
ChspsThemeServerSession (const TInt )
TInt AppUid ()
void CreateL ()
RFs & FileSystem ()
TBool IconFileCopyRequired ()
TBool ResourceFileCopyRequired ()
void SetIconFileCopyRequired (const TBool )
void SetResourceFileCopyRequired (const TBool )
Private Member Functions
~ChspsThemeServerSession ()
void AccessResourceFileL (const RMessage2 &)
void AddPluginL (const RMessage2 &)
void CancelGetListHeadersL (const RMessage2 &)
void CancelGetOdtUpdateL (const RMessage2 &)
void CancelInstallThemeL (const RMessage2 &)
void CopyResourceFilesL (const RMessage2 &)
void CreateClientRequestHandlerL ()
void CreateMaintenanceHandlerL (const TUint )
void DoServiceL (const RMessage2 &)
void FindWidgetUidsL ( ChspsODT &, RArray < TInt > &)
void GetListHeadersL (const RMessage2 &)
void GetNextHeaderL (const RMessage2 &)
void GetOdtL (const RMessage2 &)
void GetOdtUpdateL (const RMessage2 &)
void GetPluginOdtL (const RMessage2 &)
void InstallNextPhaseL (const RMessage2 &)
void InstallThemeL (const RMessage2 &)
void MovePluginsL (const RMessage2 &)
void ReinstallConfL (const RMessage2 &)
void RemovePluginL (const RMessage2 &)
void RemoveThemeL (const RMessage2 &)
void ReplacePluginL (const RMessage2 &)
void RestoreActiveAppConfL (const RMessage2 &)
void RestoreConfigurationsL (const RMessage2 &)
void RestoreDefaultL (const RMessage2 &)
ChspsThemeServer & Server ()
void ServiceError (const RMessage2 &, TInt )
void ServiceL (const RMessage2 &)
void SetActivePluginL (const RMessage2 &)
void SetActiveThemeL (const RMessage2 &)
void SetConfStateL (const RMessage2 &)
void SetPluginSettingsL (const RMessage2 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSession2::CSession2()
CSession2::CountResources()
CSession2::Disconnect(const RMessage2 &)
CSession2::Extension_(TUint,TAny *&,TAny *)
CSession2::ResourceCountMarkEnd(const RMessage2 &)
CSession2::ResourceCountMarkStart()
CSession2::Server()const
CSession2::SetServer(const CServer2 *)
CSession2::~CSession2()
Inherited Enumerations
CSession2:TPanicNo
Private Attributes
TInt iAppUid
ChspsClientRequestHandler * iClientRequestHandler
RFs iFs
TBool iHoldingResources
TBool iIconFileCopyRequired
ChspsInstallationHandler * iInstallationHandler
ChspsMaintenanceHandler * iMaintenanceHandler
RMessagePtr2 iMessagePtr
TBool iResourceFileCopyRequired

Constructor & Destructor Documentation

ChspsThemeServerSession(const TInt)

ChspsThemeServerSession ( const TInt aAppUid )

Parameters

const TInt aAppUid Application UID using this session

~ChspsThemeServerSession()

~ChspsThemeServerSession ( ) [private]
~ChspsThemeServerSession
Since
S60 3.1

Member Functions Documentation

AccessResourceFileL(const RMessage2 &)

void AccessResourceFileL ( const RMessage2 & aMessage ) [private]
AccessResourceFileL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

AddPluginL(const RMessage2 &)

void AddPluginL ( const RMessage2 & aMessage ) [private]
AddPluginL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

AppUid()

TInt AppUid ( ) const

Get app uid of session

CancelGetListHeadersL(const RMessage2 &)

void CancelGetListHeadersL ( const RMessage2 & aMessage ) [private]
CancelGetListHeadersL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

CancelGetOdtUpdateL(const RMessage2 &)

void CancelGetOdtUpdateL ( const RMessage2 & aMessage ) [private]
CancelGetOdtUpdateL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

CancelInstallThemeL(const RMessage2 &)

void CancelInstallThemeL ( const RMessage2 & aMessage ) [private]
CancelInstallThemeL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

CopyResourceFilesL(const RMessage2 &)

void CopyResourceFilesL ( const RMessage2 & aMessage ) [private]
Copies (overwrites) odt's resource files under private folder. Creates folder for each plug-in if needed.
Since
S60 5.0.1

Parameters

const RMessage2 & aMessage

CreateClientRequestHandlerL()

void CreateClientRequestHandlerL ( ) [private]

CreateClientRequestHandlerL

Creates a new client request handler if one does not already exist.

CreateL()

void CreateL ( ) [virtual]
CreateL
Since
S60 3.1

CreateMaintenanceHandlerL(const TUint)

void CreateMaintenanceHandlerL ( const TUint aSecureId ) [private]

CreateMaintenanceHandlerL

Creates a new maintenance handler if one does not already exist.

Parameters

const TUint aSecureId

DoServiceL(const RMessage2 &)

void DoServiceL ( const RMessage2 & aMessage ) [private]
Executes requested service.
Since
S60 5.0

Parameters

const RMessage2 & aMessage

FileSystem()

RFs & FileSystem ( )

Shares RFs instance from session to handlers it owns.

FindWidgetUidsL(ChspsODT &, RArray< TInt > &)

void FindWidgetUidsL ( ChspsODT & aAppODT,
RArray < TInt > & aUidArray
) [private]
Finds unique widgets, configuration UIDs, from resource an array.
Since
S60 5.0.1

Parameters

ChspsODT & aAppODT is an instance of an application configuration ODT
RArray < TInt > & aUidArray holds found UIDs in an array

GetListHeadersL(const RMessage2 &)

void GetListHeadersL ( const RMessage2 & aMessage ) [private]
GetListHeadersL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

GetNextHeaderL(const RMessage2 &)

void GetNextHeaderL ( const RMessage2 & aMessage ) [private]
GetNextHeaderL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

GetOdtL(const RMessage2 &)

void GetOdtL ( const RMessage2 & aMessage ) [private]
GetOdtL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

GetOdtUpdateL(const RMessage2 &)

void GetOdtUpdateL ( const RMessage2 & aMessage ) [private]
GetOdtUpdateL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

GetPluginOdtL(const RMessage2 &)

void GetPluginOdtL ( const RMessage2 & aMessage ) [private]
GetPluginOdtL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

IconFileCopyRequired()

TBool IconFileCopyRequired ( ) const

Return whether icon file copy required.

InstallNextPhaseL(const RMessage2 &)

void InstallNextPhaseL ( const RMessage2 & aMessage ) [private]
InstallNextPhaseL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

InstallThemeL(const RMessage2 &)

void InstallThemeL ( const RMessage2 & aMessage ) [private]
InstallThemeL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

MovePluginsL(const RMessage2 &)

void MovePluginsL ( const RMessage2 & aMessage ) [private]
MovePluginsL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

ReinstallConfL(const RMessage2 &)

void ReinstallConfL ( const RMessage2 & aMessage ) [private]
ReinstallConfL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

RemovePluginL(const RMessage2 &)

void RemovePluginL ( const RMessage2 & aMessage ) [private]
RemovePluginL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

RemoveThemeL(const RMessage2 &)

void RemoveThemeL ( const RMessage2 & aMessage ) [private]
RemoveThemeL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

ReplacePluginL(const RMessage2 &)

void ReplacePluginL ( const RMessage2 & aMessage ) [private]
ReplacePluginL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

ResourceFileCopyRequired()

TBool ResourceFileCopyRequired ( ) const

Return whether resource file copy required.

RestoreActiveAppConfL(const RMessage2 &)

void RestoreActiveAppConfL ( const RMessage2 & aMessage ) [private]
RestoreActiveAppConfL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

RestoreConfigurationsL(const RMessage2 &)

void RestoreConfigurationsL ( const RMessage2 & aMessage ) [private]
RestoreConfigurationsL
Since
S60 5.2

Parameters

const RMessage2 & aMessage

RestoreDefaultL(const RMessage2 &)

void RestoreDefaultL ( const RMessage2 & aMessage ) [private]
RestoreDefaultL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

Server()

ChspsThemeServer & Server ( ) [private, inline]
Server
Since
S60 3.1

ServiceError(const RMessage2 &, TInt)

void ServiceError ( const RMessage2 & aMessage,
TInt aError
) [private, virtual]
ServiceError
Since
S60 3.1

Parameters

const RMessage2 & aMessage
TInt aError

ServiceL(const RMessage2 &)

void ServiceL ( const RMessage2 & aMessage ) [private, virtual]
ServiceL, traps DoServiceL call and completes service requests when an error occures.
Since
S60 5.0

Parameters

const RMessage2 & aMessage

SetActivePluginL(const RMessage2 &)

void SetActivePluginL ( const RMessage2 & aMessage ) [private]

SetActivePluginL

Since
S60 5.0

Parameters

const RMessage2 & aMessage IPC message data.

SetActiveThemeL(const RMessage2 &)

void SetActiveThemeL ( const RMessage2 & aMessage ) [private]
SetActiveThemeL
Since
S60 3.1

Parameters

const RMessage2 & aMessage

SetConfStateL(const RMessage2 &)

void SetConfStateL ( const RMessage2 & aMessage ) [private]
SetConfStateL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

SetIconFileCopyRequired(const TBool)

void SetIconFileCopyRequired ( const TBool aCopyRequired )

Set icon file copy requirement flag.

Parameters

const TBool aCopyRequired Value to be set.

SetPluginSettingsL(const RMessage2 &)

void SetPluginSettingsL ( const RMessage2 & aMessage ) [private]
SetPluginSettingsL
Since
S60 5.0

Parameters

const RMessage2 & aMessage

SetResourceFileCopyRequired(const TBool)

void SetResourceFileCopyRequired ( const TBool aCopyRequired )

Set resource file copy requirement flag.

Parameters

const TBool aCopyRequired Value to be set.

Member Data Documentation

TInt iAppUid

TInt iAppUid [private]

ChspsClientRequestHandler * iClientRequestHandler

ChspsClientRequestHandler * iClientRequestHandler [private]

RFs iFs

RFs iFs [private]

TBool iHoldingResources

TBool iHoldingResources [private]

TBool iIconFileCopyRequired

TBool iIconFileCopyRequired [private]

Boolean to indicate that icon files need to be copied.

ChspsInstallationHandler * iInstallationHandler

ChspsInstallationHandler * iInstallationHandler [private]

ChspsMaintenanceHandler * iMaintenanceHandler

ChspsMaintenanceHandler * iMaintenanceHandler [private]

RMessagePtr2 iMessagePtr

RMessagePtr2 iMessagePtr [private]

TBool iResourceFileCopyRequired

TBool iResourceFileCopyRequired [private]

Boolean to indicate that resource files need to be copied.