CPromptData Class Reference

class CPromptData : public CBase

Type holding data to be used while prompting.

The default or custom (runtime over-ridden) prompt handler requires the permission type to prompt and the user-selection to be returned to security manager for access permission check

rtsecmgrclient.lib

Inherits from

Constructor & Destructor Documentation

CPromptData()

CPromptData()[private, inline]

~CPromptData()

~CPromptData()[inline]

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[inline]

NewL()

CPromptData *NewL()[static, inline]

Two-phased constructor

Constructs a CPromptData instance

NewLC()

CPromptData *NewLC()[static, inline]

Two-phased constructor

Constructs a CPromptData instance and leaves the created instance onto the cleanupstack.

Permission()

CPermission *Permission()const [inline]

Returns permission data

SetPermissions(CPermission &)

voidSetPermissions(CPermission &aPermission)[inline]

Sets the permission value of the domain

Parameters

CPermission & aPermissionCPermission permission value of the domain

SetUserSelection(TUserPromptOption)

voidSetUserSelection(TUserPromptOptionaUserSelection)[inline]

Sets the user-selection data

Parameters

TUserPromptOption aUserSelectionTUserPromptOption user-selected data value

Member Data Documentation

CPermission * iPermission

CPermission *iPermission[private]

TUserPromptOption iUserSelection

TUserPromptOption iUserSelection[private]