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

Member Functions Documentation

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

HBufC8 * PackLauncherDataL ( const TUid aEmbeddingAppUid,
const TBrowserOverriddenSettings * aSettings,
TInt folderUid,
const TDesC & seamlessParam,
TBool aIsContentHandlerRegistered
) [static]

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

Parameters

const TUid aEmbeddingAppUid The embedding application`s UID
const TBrowserOverriddenSettings * aSettings Overridden user preferences. Ownership is not taken!
TInt folderUid
const TDesC & seamlessParam
TBool aIsContentHandlerRegistered True if a content handler is registered

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

void UnPackLauncherDataL ( 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 & aEmbeddingAppUid The embedding application`s UID
TBrowserOverriddenSettings * aSettings Overridden user preferences. Ownership is not taken!
TInt & aFolderUid The Uid of the folder that the Browser should open.
TPtrC & aSeamlessParam
const TDesC8 & aData Data to unpack.
TBool & aIsContentHandlerRegistered True if a content handler is registered
TBool & aIsOverriddenSettings True if the client set an overridden setting