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,
TInt aEntryPointOrdinalNumber,
const TVersion aVersion
) [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 TBool CapabilitiesAvailable ( ) const

ConstructL(const TDesC &, const TDesC &)

void ConstructL ( const TDesC & aHumanReadableName,
const TDesC & aFilename
) [private]

Parameters

const TDesC & aHumanReadableName
const TDesC & aFilename

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

FileName()

TPtrC FileName ( ) const

HumanReadableName()

TPtrC HumanReadableName ( ) const [inline]

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Parameters

RReadStream & aStream

MessagingCapability()

IMPORT_C TBool MessagingCapability ( ) const

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

IMPORT_C CMtmDllInfo * NewL ( const TDesC & aHumanReadableName,
const TUidType & aUidType,
const TDesC & aFilename,
TInt aEntryPointOrdinalNumber,
const TVersion aVersion
) [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 TBool SendBodyCapability ( ) const

SetCapabilitiesAvailable(TBool)

void SetCapabilitiesAvailable ( TBool aBool )

Parameters

TBool aBool

SetHumanReadableNameL(const TDesC &)

IMPORT_C void SetHumanReadableNameL ( const TDesC & aHumanReadableName )

Parameters

const TDesC & aHumanReadableName

SetMessagingCapability(TBool)

void SetMessagingCapability ( TBool aCapability )

Parameters

TBool aCapability

SetSendBodyCapability(TBool)

void SetSendBodyCapability ( TBool aCapability )

Parameters

TBool aCapability

operator==(const CMtmDllInfo &)

IMPORT_C TBool operator== ( 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