TLauncherPackageUtils Class Reference

class TLauncherPackageUtils

TLauncherPackageUtils Helper class to pack data on client side, and unpack the same data on server side, that was sent through IPC

Public Member Functions
HBufC8 *PackLauncherDataL(const TUid, const TBrowserOverriddenSettings *, TInt, const TDesC &, TBool)
voidUnPackLauncherDataL(TUid &, TBrowserOverriddenSettings *, TInt &, TPtrC &, const TDesC8 &, TBool &, TBool &)

Member Functions Documentation

PackLauncherDataL(const TUid, const TBrowserOverriddenSettings *, TInt, const TDesC &, TBool)

HBufC8 *PackLauncherDataL(const TUidaEmbeddingAppUid,
const TBrowserOverriddenSettings *aSettings,
TIntfolderUid,
const TDesC &seamlessParam,
TBoolaIsContentHandlerRegistered
)[static]

Client packs the data that is about to send throudh IPC.

Parameters

const TUid aEmbeddingAppUidThe embedding application`s UID
const TBrowserOverriddenSettings * aSettingsOverridden user preferences. Ownership is not taken!
TInt folderUid
const TDesC & seamlessParam
TBool aIsContentHandlerRegisteredTrue if a content handler is registered

UnPackLauncherDataL(TUid &, TBrowserOverriddenSettings *, TInt &, TPtrC &, const TDesC8 &, TBool &, TBool &)

voidUnPackLauncherDataL(TUid &aEmbeddingAppUid,
TBrowserOverriddenSettings *aSettings,
TInt &aFolderUid,
TPtrC &aSeamlessParam,
const TDesC8 &aData,
TBool &aIsContentHandlerRegistered,
TBool &aIsOverriddenSettings
)[static]

Server unpacks the data that was sent from client throudh IPC. The method sets the parameters values.

Parameters

TUid & aEmbeddingAppUidThe embedding application`s UID
TBrowserOverriddenSettings * aSettingsOverridden user preferences. Ownership is not taken!
TInt & aFolderUidThe Uid of the folder that the Browser should open.
TPtrC & aSeamlessParam
const TDesC8 & aDataData to unpack.
TBool & aIsContentHandlerRegisteredTrue if a content handler is registered
TBool & aIsOverriddenSettingsTrue if the client set an overridden setting