CMtmDllInfo Class Reference

class CMtmDllInfo : public CBase

Encapsulates the registration data for a single concrete MTM component.

It is used in the creation of registration data for an MTM group. Typically, an application gathers a number of CMtmDllInfo objects into an CMtmDllInfoArray.

Inherits from

Constructor & Destructor Documentation

CMtmDllInfo()

CMtmDllInfo()[private]

CMtmDllInfo(const TUidType &, TInt, const TVersion)

CMtmDllInfo(const TUidType &aUidType,
TIntaEntryPointOrdinalNumber,
const TVersionaVersion
)[private]

Parameters

const TUidType & aUidType
TInt aEntryPointOrdinalNumber
const TVersion aVersion

CMtmDllInfo(const CMtmDllInfo &)

CMtmDllInfo(const CMtmDllInfo &aMtmDllInfo)[private]

Parameters

const CMtmDllInfo & aMtmDllInfo

~CMtmDllInfo()

IMPORT_C~CMtmDllInfo()

Member Functions Documentation

CapabilitiesAvailable()

IMPORT_C TBoolCapabilitiesAvailable()const

ConstructL(const TDesC &, const TDesC &)

voidConstructL(const TDesC &aHumanReadableName,
const TDesC &aFilename
)[private]

Parameters

const TDesC & aHumanReadableName
const TDesC & aFilename

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

FileName()

TPtrC FileName()const

HumanReadableName()

TPtrC HumanReadableName()const [inline]

Gets the descriptive name of the MTM component for which the object holds registration data.

Descriptor holding the descriptive name of the MTM component

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

MessagingCapability()

IMPORT_C TBoolMessagingCapability()const

NewL(const TDesC &, const TUidType &, const TDesC &, TInt, const TVersion)

IMPORT_C CMtmDllInfo *NewL(const TDesC &aHumanReadableName,
const TUidType &aUidType,
const TDesC &aFilename,
TIntaEntryPointOrdinalNumber,
const TVersionaVersion
)[static]

Parameters

const TDesC & aHumanReadableName
const TUidType & aUidType
const TDesC & aFilename
TInt aEntryPointOrdinalNumber
const TVersion aVersion

NewL(const CMtmDllInfo &)

IMPORT_C CMtmDllInfo *NewL(const CMtmDllInfo &aMtmDllInfo)[static]

Parameters

const CMtmDllInfo & aMtmDllInfo

NewL(RReadStream &)

IMPORT_C CMtmDllInfo *NewL(RReadStream &aStream)[static]

Parameters

RReadStream & aStream

SendBodyCapability()

IMPORT_C TBoolSendBodyCapability()const

SetCapabilitiesAvailable(TBool)

voidSetCapabilitiesAvailable(TBoolaBool)

Parameters

TBool aBool

SetHumanReadableNameL(const TDesC &)

IMPORT_C voidSetHumanReadableNameL(const TDesC &aHumanReadableName)

Parameters

const TDesC & aHumanReadableName

SetMessagingCapability(TBool)

voidSetMessagingCapability(TBoolaCapability)

Parameters

TBool aCapability

SetSendBodyCapability(TBool)

voidSetSendBodyCapability(TBoolaCapability)

Parameters

TBool aCapability

operator==(const CMtmDllInfo &)

IMPORT_C TBooloperator==(const CMtmDllInfo &aMtmDllInfo)const

Parameters

const CMtmDllInfo & aMtmDllInfo

Member Data Documentation

TBool iCapabilitiesAvailable

TBool iCapabilitiesAvailable

Flag that indicates if settings have been made for the MessagingCapability() and SendBodyCapability() flags

TInt iEntryPointOrdinalNumber

TInt iEntryPointOrdinalNumber

Ordinal of factory function for the MTM component

HBufC * iFilename

HBufC *iFilename[private]

HBufC * iHumanReadableName

HBufC *iHumanReadableName[private]

TBool iMessagingCapability

TBool iMessagingCapability

Flag that indicates if the MTM can send messages

TBool iSendBodyCapability

TBool iSendBodyCapability

Flag that indicates if the MTM can handle body text

TUidType iUidType

TUidType iUidType

Group of UIDs for the MTM. See NewL() for details.

TVersion iVersion

TVersion iVersion

Version information for the MTM component