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

void ConstructL ( ) [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 &)

void SetPermissions ( CPermission & aPermission ) [inline]

Sets the permission value of the domain

Parameters

CPermission & aPermission CPermission permission value of the domain

SetUserSelection(TUserPromptOption)

void SetUserSelection ( TUserPromptOption aUserSelection ) [inline]

Sets the user-selection data

Parameters

TUserPromptOption aUserSelection TUserPromptOption user-selected data value

Member Data Documentation

CPermission * iPermission

CPermission * iPermission [private]

TUserPromptOption iUserSelection

TUserPromptOption iUserSelection [private]