CSsmCommandListResourceReader Class Reference

class CSsmCommandListResourceReader : public CBase

Constructs command lists from resource files.

A resource reader must be initialised before it can be used to construct a command list.

Once initialised, a command list may be constructed by first calling one of the overloads of PrepareCommandList, followed by GetCommandList to return the command list.

Command lists may only be constructed one at a time.

Inherits from

  • CSsmCommandListResourceReader

Constructor & Destructor Documentation

CSsmCommandListResourceReader()

CSsmCommandListResourceReader ( ) [private]

~CSsmCommandListResourceReader()

IMPORT_C ~CSsmCommandListResourceReader ( )

Member Functions Documentation

ConstructL(RFs &, const TDesC &, MSsmConditionalCallback &)

void ConstructL ( RFs & aFs,
const TDesC & aCommandListPath,
MSsmConditionalCallback & aConditionalCallback
) [private]

Parameters

RFs & aFs
const TDesC & aCommandListPath
MSsmConditionalCallback & aConditionalCallback

GetCommandList()

IMPORT_C CSsmCommandList * GetCommandList ( )

GetCommandListIdsL(RArray< TInt > &)

IMPORT_C void GetCommandListIdsL ( RArray < TInt > & aArray ) const

Parameters

RArray < TInt > & aArray

Initialise(TRequestStatus &)

IMPORT_C void Initialise ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

InitialiseCancel()

IMPORT_C void InitialiseCancel ( )

NewL(RFs &, const TDesC &, MSsmConditionalCallback &)

IMPORT_C CSsmCommandListResourceReader * NewL ( RFs & aFs,
const TDesC & aCommandListPath,
MSsmConditionalCallback & aConditionalCallback
) [static]

Parameters

RFs & aFs
const TDesC & aCommandListPath
MSsmConditionalCallback & aConditionalCallback

PrepareCommandList(TInt, const TSsmState &, TRequestStatus &)

IMPORT_C void PrepareCommandList ( TInt aCommandListId,
const TSsmState & aState,
TRequestStatus & aStatus
)

Parameters

TInt aCommandListId
const TSsmState & aState
TRequestStatus & aStatus

PrepareCommandList(TInt, const TSsmSwp &, TRequestStatus &)

IMPORT_C void PrepareCommandList ( TInt aCommandListId,
const TSsmSwp & aSwp,
TRequestStatus & aStatus
)

Parameters

TInt aCommandListId
const TSsmSwp & aSwp
TRequestStatus & aStatus

PrepareCommandListCancel()

IMPORT_C void PrepareCommandListCancel ( )

Member Data Documentation

CSsmCommandList * iCommandList

CSsmCommandList * iCommandList [private]

CSsmCommandListResourceReaderImpl * iImpl

CSsmCommandListResourceReaderImpl * iImpl [private]