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,
TIntaResourceId
)[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 & aResourceFileThe resource file which contains the conditional information.
TInt aResourceIdThe resource ID containing the conditional information.