ChspsThemeServerSession Class Reference

class ChspsThemeServerSession : public CSession2

This class provides HSPS Server Session

Inherits from

Public Member Functions
ChspsThemeServerSession(const TInt)
TInt AppUid()
voidCreateL()
RFs &FileSystem()
TBool IconFileCopyRequired()
TBool ResourceFileCopyRequired()
voidSetIconFileCopyRequired(const TBool)
voidSetResourceFileCopyRequired(const TBool)
Private Member Functions
~ChspsThemeServerSession()
voidAccessResourceFileL(const RMessage2 &)
voidAddPluginL(const RMessage2 &)
voidCancelGetListHeadersL(const RMessage2 &)
voidCancelGetOdtUpdateL(const RMessage2 &)
voidCancelInstallThemeL(const RMessage2 &)
voidCopyResourceFilesL(const RMessage2 &)
voidCreateClientRequestHandlerL()
voidCreateMaintenanceHandlerL(const TUint)
voidDoServiceL(const RMessage2 &)
voidFindWidgetUidsL(ChspsODT &, RArray< TInt > &)
voidGetListHeadersL(const RMessage2 &)
voidGetNextHeaderL(const RMessage2 &)
voidGetOdtL(const RMessage2 &)
voidGetOdtUpdateL(const RMessage2 &)
voidGetPluginOdtL(const RMessage2 &)
voidInstallNextPhaseL(const RMessage2 &)
voidInstallThemeL(const RMessage2 &)
voidMovePluginsL(const RMessage2 &)
voidReinstallConfL(const RMessage2 &)
voidRemovePluginL(const RMessage2 &)
voidRemoveThemeL(const RMessage2 &)
voidReplacePluginL(const RMessage2 &)
voidRestoreActiveAppConfL(const RMessage2 &)
voidRestoreConfigurationsL(const RMessage2 &)
voidRestoreDefaultL(const RMessage2 &)
ChspsThemeServer &Server()
voidServiceError(const RMessage2 &, TInt)
voidServiceL(const RMessage2 &)
voidSetActivePluginL(const RMessage2 &)
voidSetActiveThemeL(const RMessage2 &)
voidSetConfStateL(const RMessage2 &)
voidSetPluginSettingsL(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 TIntaAppUid)
ChspsThemeServerSession
Since
S60 3.1

Parameters

const TInt aAppUidApplication UID using this session

~ChspsThemeServerSession()

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

Member Functions Documentation

AccessResourceFileL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

AddPluginL(const RMessage2 &)

voidAddPluginL(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 &)

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

Parameters

const RMessage2 & aMessage

CancelGetOdtUpdateL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

CancelInstallThemeL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

CopyResourceFilesL(const RMessage2 &)

voidCopyResourceFilesL(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()

voidCreateClientRequestHandlerL()[private]

CreateClientRequestHandlerL

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

CreateL()

voidCreateL()[virtual]
CreateL
Since
S60 3.1

CreateMaintenanceHandlerL(const TUint)

voidCreateMaintenanceHandlerL(const TUintaSecureId)[private]

CreateMaintenanceHandlerL

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

Parameters

const TUint aSecureId

DoServiceL(const RMessage2 &)

voidDoServiceL(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 > &)

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

Parameters

ChspsODT & aAppODTis an instance of an application configuration ODT
RArray< TInt > & aUidArrayholds found UIDs in an array

GetListHeadersL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

GetNextHeaderL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

GetOdtL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

GetOdtUpdateL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

GetPluginOdtL(const RMessage2 &)

voidGetPluginOdtL(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 &)

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

Parameters

const RMessage2 & aMessage

InstallThemeL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

MovePluginsL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

ReinstallConfL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

RemovePluginL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

RemoveThemeL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

ReplacePluginL(const RMessage2 &)

voidReplacePluginL(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 &)

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

Parameters

const RMessage2 & aMessage

RestoreConfigurationsL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

RestoreDefaultL(const RMessage2 &)

voidRestoreDefaultL(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)

voidServiceError(const RMessage2 &aMessage,
TIntaError
)[private, virtual]
ServiceError
Since
S60 3.1

Parameters

const RMessage2 & aMessage
TInt aError

ServiceL(const RMessage2 &)

voidServiceL(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 &)

voidSetActivePluginL(const RMessage2 &aMessage)[private]

SetActivePluginL

Since
S60 5.0

Parameters

const RMessage2 & aMessageIPC message data.

SetActiveThemeL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

SetConfStateL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

SetIconFileCopyRequired(const TBool)

voidSetIconFileCopyRequired(const TBoolaCopyRequired)

Set icon file copy requirement flag.

Parameters

const TBool aCopyRequiredValue to be set.

SetPluginSettingsL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

SetResourceFileCopyRequired(const TBool)

voidSetResourceFileCopyRequired(const TBoolaCopyRequired)

Set resource file copy requirement flag.

Parameters

const TBool aCopyRequiredValue 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.