CSsmCustomCommandInfo Class Reference

class CSsmCustomCommandInfo : public CBase

Information required to construct a custom command. TCmdCustomCommandLibUnloading CCmdCustomCommand

Inherits from

  • CSsmCustomCommandInfo

Constructor & Destructor Documentation

CSsmCustomCommandInfo()

IMPORT_CCSsmCustomCommandInfo()

Constructor

CSsmCustomCommandInfo(const CSsmCustomCommandInfo &)

CSsmCustomCommandInfo(const CSsmCustomCommandInfo &aInfo)[private]

Parameters

const CSsmCustomCommandInfo & aInfo

~CSsmCustomCommandInfo()

IMPORT_C~CSsmCustomCommandInfo()

Destructor

Member Functions Documentation

Clear()

IMPORT_C voidClear()

Clear command info contents and reset to default values

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aWriteStream)const
Externalises the CSsmCustomCommandInfo object
leave
One of the system-wide error codes.

Parameters

RWriteStream & aWriteStreamA write stream to write the object data to

FileName()

IMPORT_C const TFileName &FileName()const

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aReadStream)
Configures the CSsmCustomCommandInfo object using data contained in a ReadStream
leave
One of the system-wide error codes.

Parameters

RReadStream & aReadStreamA read stream containing BIC data

Ordinal()

IMPORT_C TInt32Ordinal()const

Params()

IMPORT_C const TPtrC8Params()const

Retries()

IMPORT_C TInt16Retries()const

SetL(const TDesC &, TInt32, TCmdCustomCommandLibUnloading, TInt16, const TDesC8 &)

IMPORT_C voidSetL(const TDesC &aFileName,
TInt32aOrdinal,
TCmdCustomCommandLibUnloadingaUnloading,
TInt16aRetries,
const TDesC8 &aParams
)

Set command info contents

leave
One of the system-wide error codes.

Parameters

const TDesC & aFileNameA Custom Command DLL file name
TInt32 aOrdinalThe ordinal to call to return a MSsmCustomCommand object
TCmdCustomCommandLibUnloading aUnloadingWhether to unload the Custom Command DLL immediately when finished or not
TInt16 aRetriesThe number of times to try calling the Custom Command if unsuccessful
const TDesC8 & aParamsOptional user data to be passed to the Custom Command

Unloading()

IMPORT_C TCmdCustomCommandLibUnloadingUnloading()const

operator=(const CSsmCustomCommandInfo &)

IMPORT_C CSsmCustomCommandInfo &operator=(const CSsmCustomCommandInfo &aInfo)

Overloaded = operator

Parameters

const CSsmCustomCommandInfo & aInfo

Member Data Documentation

TFileName iFileName

TFileName iFileName[private]

TInt32 iOrdinal

TInt32 iOrdinal[private]

HBufC8 * iParams

HBufC8 *iParams[private]

TInt16 iRetries

TInt16 iRetries[private]

TCmdCustomCommandLibUnloading iUnloading

TCmdCustomCommandLibUnloading iUnloading[private]