MSsmConditionalCallback Class Reference

class MSsmConditionalCallback

Callback used by CSsmCommandListResourceReader when a decision needs to be made on whether to include a command in a command list or not.

Member Functions Documentation

ConditionalCommandAllowedL(CResourceFile &, TInt)

TBool ConditionalCommandAllowedL ( CResourceFile & aResourceFile,
TInt aResourceId
) [pure virtual]

Called by CSsmCommandListResourceReader to determine if a command should be added to a command list.

Both the resource ID for the condition information and the resource file are provided. This allows the conditional information at the resource ID to reference other resources in the same resource file.

Parameters

CResourceFile & aResourceFile The resource file which contains the conditional information.
TInt aResourceId The resource ID containing the conditional information.