RhspsClientSession Class Reference

class RhspsClientSession : public RSessionBase

Server session.

hspsclientsession.lib
Since
S60 5.0

Inherits from

Protected Member Functions
IMPORT_C TIntAccessResourceFile(TDes8 &, const ThspsConfiguration &, const TDesC &, TInt &)
IMPORT_C TIntAddPlugin(TDes8 &, const ThpsParamAddPlugin &, TInt &)
IMPORT_C voidCancelRequest(TInt, TDes8 &, TInt)
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C TIntCopyResourceFiles(TDes8 &, TDesC &, TDesC &)
IMPORT_C TIntGetListHeaders(TDes8 &, const TDesC8 &, const TBool, TDes8 &)
IMPORT_C voidGetNextHeader(TDes8 &, TDes8 &, TRequestStatus &)
IMPORT_C TIntGetNextHeader(TDes8 &, TDes8 &)
IMPORT_C TIntGetODT(TDes8 &, const ThspsConfiguration &, const TDesC8 &, TDes &)
IMPORT_C voidGetODTUpdate(TDes8 &, TDes8 &, TDes8 &, TRequestStatus &)
IMPORT_C TIntGetPluginOdt(TDes8 &, const ThspsParamGetPluginOdt &, TDes &)
IMPORT_C voidInstallNextPhase(TDes8 &, TDes8 &, TRequestStatus &)
IMPORT_C TIntInstallTheme(TDes8 &, const TDesC &, TDes8 &)
IMPORT_C TIntMovePlugins(TDes8 &, const ThpsParamMovePlugins &)
IMPORT_C TIntReinstallConf(TDes8 &, const ThspsParamReinstallConf &)
IMPORT_C TIntRemovePlugin(TDes8 &, const ThpsParamRemovePlugin &)
IMPORT_C TIntRemoveTheme(TDes8 &, const TDesC8 &)
IMPORT_C TIntReplacePlugin(TDes8 &, const ThspsParamReplacePlugin &)
IMPORT_C TIntRestoreActiveAppConf(TDes8 &, const ThspsParamRestoreActiveAppConf &)
IMPORT_C TIntRestoreConfigurations(TDes8 &, const ThspsParamRestoreConfigurations &)
IMPORT_C TIntRestoreDefault(TDes8 &, const TDesC8 &, TDes8 &)
IMPORT_C TIntSetActivePlugin(TDes8 &, const ThpsParamSetActivePlugin &)
IMPORT_C TIntSetActiveTheme(TDes8 &, const TDesC8 &, TDes8 &)
IMPORT_C TIntSetConfState(TDes8 &, const ThspsParamSetConfState &)
IMPORT_C TIntSetPluginSettings(TDes8 &, TDes8 &, ThspsParamSetPluginSettings, TDes8 &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

AccessResourceFile(TDes8 &, const ThspsConfiguration &, const TDesC &, TInt &)

IMPORT_C TIntAccessResourceFile(TDes8 &aResultData,
const ThspsConfiguration &aConfiguration,
const TDesC &aFileName,
TInt &aFileHandle
)[protected]

AccessResourceFile. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResultData.
const ThspsConfiguration & aConfigurationConfiguration.
const TDesC & aFileNameFile name.
TInt & aFileHandleFile handle.

AddPlugin(TDes8 &, const ThpsParamAddPlugin &, TInt &)

IMPORT_C TIntAddPlugin(TDes8 &aResultData,
const ThpsParamAddPlugin &aParams,
TInt &aNewPluginId
)[protected]

AddPlugin. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThpsParamAddPlugin & aParamsParams.
TInt & aNewPluginIdNew plugin id.

CancelRequest(TInt, TDes8 &, TInt)

IMPORT_C voidCancelRequest(TIntaCancelRequestMessage,
TDes8 &aResultData,
TIntaAppUid = 0
)[protected]

CancelRequest. Synchronous service call.

Since
S60 5.0

Parameters

TInt aCancelRequestMessageCancel request message.
TDes8 & aResultDataResult data.
TInt aAppUid = 0AppUid.

Close()

IMPORT_C voidClose()[protected]

Close.

Since
S60 5.0

Connect()

IMPORT_C TIntConnect()[protected]

Connect.

Since
S60 5.0

CopyResourceFiles(TDes8 &, TDesC &, TDesC &)

IMPORT_C TIntCopyResourceFiles(TDes8 &aResultData,
TDesC &aODTPath,
TDesC &aDestinationPath
)[protected]

Reads Odt from given path (aODTPath) and copies its resource files to destination folder (note that given destination folder is only prefix for actual destination folder).

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDesC & aODTPathodt path to be read.
TDesC & aDestinationPathtarget directory.

GetListHeaders(TDes8 &, const TDesC8 &, const TBool, TDes8 &)

IMPORT_C TIntGetListHeaders(TDes8 &aResultData,
const TDesC8 &aSearchMaskData,
const TBoolaCopyLogos,
TDes8 &aHeaderData
)[protected]

GetListHeaders. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const TDesC8 & aSearchMaskDataSearch mask data.
const TBool aCopyLogosSet if logo resources should be copied to client
TDes8 & aHeaderDataHeader data.

GetNextHeader(TDes8 &, TDes8 &, TRequestStatus &)

IMPORT_C voidGetNextHeader(TDes8 &aResultData,
TDes8 &aHeaderData,
TRequestStatus &aStatus
)[protected]

GetNextHeader. Asynchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDes8 & aHeaderDataHeader data.
TRequestStatus & aStatusRequest status.

GetNextHeader(TDes8 &, TDes8 &)

IMPORT_C TIntGetNextHeader(TDes8 &aResultData,
TDes8 &aHeaderData
)[protected]

GetNextHeader. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDes8 & aHeaderDataHeader data.

GetODT(TDes8 &, const ThspsConfiguration &, const TDesC8 &, TDes &)

IMPORT_C TIntGetODT(TDes8 &aResultData,
const ThspsConfiguration &aConfiguration,
const TDesC8 &aRequestData,
TDes &aODTPath
)[protected]

GetODT. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResultData.
const ThspsConfiguration & aConfigurationConfiguration.
const TDesC8 & aRequestDataRequest data.
TDes & aODTPathOdt path.

GetODTUpdate(TDes8 &, TDes8 &, TDes8 &, TRequestStatus &)

IMPORT_C voidGetODTUpdate(TDes8 &aResultData,
TDes8 &aRequestNotifyData,
TDes8 &aHeaderData,
TRequestStatus &aStatus
)[protected]

GetODTUpdate. Asynchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDes8 & aRequestNotifyDataRequest notify data.
TDes8 & aHeaderDataHeader data.
TRequestStatus & aStatusRequest status.

GetPluginOdt(TDes8 &, const ThspsParamGetPluginOdt &, TDes &)

IMPORT_C TIntGetPluginOdt(TDes8 &aResultData,
const ThspsParamGetPluginOdt &aParams,
TDes &aOdtPath
)[protected]

GetPluginOdt. Synchronous service call to get plugin's odt path.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThspsParamGetPluginOdt & aParamsParams.
TDes & aOdtPathOdt path.

InstallNextPhase(TDes8 &, TDes8 &, TRequestStatus &)

IMPORT_C voidInstallNextPhase(TDes8 &aResultData,
TDes8 &aHeaderData,
TRequestStatus &aStatus
)[protected]

InstallNextPhase. Asynchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDes8 & aHeaderDataHeader data.
TRequestStatus & aStatusRequest status.

InstallTheme(TDes8 &, const TDesC &, TDes8 &)

IMPORT_C TIntInstallTheme(TDes8 &aResultData,
const TDesC &aManifestFileName,
TDes8 &aHeaderData
)[protected]

InstallTheme. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const TDesC & aManifestFileNameManifest file name.
TDes8 & aHeaderDataHeader data.

MovePlugins(TDes8 &, const ThpsParamMovePlugins &)

IMPORT_C TIntMovePlugins(TDes8 &aResultData,
const ThpsParamMovePlugins &aParams
)[protected]

MovePlugins. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThpsParamMovePlugins & aParamsParams.

ReinstallConf(TDes8 &, const ThspsParamReinstallConf &)

IMPORT_C TIntReinstallConf(TDes8 &aResultData,
const ThspsParamReinstallConf &aParams
)[protected]

ReinstallConf. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThspsParamReinstallConf & aParamsParams.

RemovePlugin(TDes8 &, const ThpsParamRemovePlugin &)

IMPORT_C TIntRemovePlugin(TDes8 &aResultData,
const ThpsParamRemovePlugin &aParams
)[protected]

RemovePlugin. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThpsParamRemovePlugin & aParamsParams.

RemoveTheme(TDes8 &, const TDesC8 &)

IMPORT_C TIntRemoveTheme(TDes8 &aResultData,
const TDesC8 &aSetMaskData
)[protected]

RemoveTheme. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const TDesC8 & aSetMaskDataMask data.

ReplacePlugin(TDes8 &, const ThspsParamReplacePlugin &)

IMPORT_C TIntReplacePlugin(TDes8 &aResultData,
const ThspsParamReplacePlugin &aParams
)[protected]

ReplacePlugin. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThspsParamReplacePlugin & aParamsParams.

RestoreActiveAppConf(TDes8 &, const ThspsParamRestoreActiveAppConf &)

IMPORT_C TIntRestoreActiveAppConf(TDes8 &aResultData,
const ThspsParamRestoreActiveAppConf &aParams
)[protected]
RestoreActiveAppConf Synchronous service call.
Since
S60 5.0

Parameters

TDes8 & aResultDataOperation result
const ThspsParamRestoreActiveAppConf & aParamsOperation parameters

RestoreConfigurations(TDes8 &, const ThspsParamRestoreConfigurations &)

IMPORT_C TIntRestoreConfigurations(TDes8 &aResultData,
const ThspsParamRestoreConfigurations &aParams
)[protected]
Restores plugin configurations by either removing all plugins from the active view or by removing all extra views. In latter case, the first locked view is emptied. If there are no locked views then the first view will remain while others are removed.
Since
S60 5.2

Parameters

TDes8 & aResultDataResult data.
const ThspsParamRestoreConfigurations & aParamsParams.

RestoreDefault(TDes8 &, const TDesC8 &, TDes8 &)

IMPORT_C TIntRestoreDefault(TDes8 &aResultData,
const TDesC8 &aSetMaskData,
TDes8 &aHeaderData
)[protected]

RestoreDefault. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const TDesC8 & aSetMaskDataMask data.
TDes8 & aHeaderDataHeader data.

SetActivePlugin(TDes8 &, const ThpsParamSetActivePlugin &)

IMPORT_C TIntSetActivePlugin(TDes8 &aResultData,
const ThpsParamSetActivePlugin &aParams
)[protected]

SetActivePlugin. Set plugin configuration active.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThpsParamSetActivePlugin & aParamsParams.

SetActiveTheme(TDes8 &, const TDesC8 &, TDes8 &)

IMPORT_C TIntSetActiveTheme(TDes8 &aResultData,
const TDesC8 &aSetMaskData,
TDes8 &aHeaderData
)[protected]

SetActiveTheme. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const TDesC8 & aSetMaskDataMask data.
TDes8 & aHeaderDataHeader data.

SetConfState(TDes8 &, const ThspsParamSetConfState &)

IMPORT_C TIntSetConfState(TDes8 &aResultData,
const ThspsParamSetConfState &aParams
)[protected]

SetConfState. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
const ThspsParamSetConfState & aParamsParams.

SetPluginSettings(TDes8 &, TDes8 &, ThspsParamSetPluginSettings, TDes8 &)

IMPORT_C TIntSetPluginSettings(TDes8 &aResultData,
TDes8 &aSearchMaskData,
ThspsParamSetPluginSettingsaParams,
TDes8 &aDomData
)[protected]

SetPluginSettings. Synchronous service call.

Since
S60 5.0

Parameters

TDes8 & aResultDataResult data.
TDes8 & aSearchMaskDataSearch mask data.
ThspsParamSetPluginSettings aParams
TDes8 & aDomDataDom data.