TEmailExtensions Class Reference

class TEmailExtensions
helper class for managing extensions. In most cases needed only by CExtendableEmail when extensions are created/released. Proto
Since
s60 v5.0

Constructor & Destructor Documentation

TEmailExtensions()

IMPORT_C TEmailExtensions ( )

c++ constructor

~TEmailExtensions()

IMPORT_C ~TEmailExtensions ( )

Destructor

Member Functions Documentation

AddL(CEmailExtension *)

IMPORT_C void AddL ( CEmailExtension * aExtension )

Adds extension to iExtensions array and increments its ref count by one.

leave
KErrArgument if aExtension is NULL

Parameters

CEmailExtension * aExtension

Extension(const TInt)

IMPORT_C CEmailExtension * Extension ( const TInt aIndex ) const
Returns extension by index or panics if invalid index is given
panic
EEmailExtensionIndexOutOfRange if index is out of range

Parameters

const TInt aIndex index in iExtensions

FindExtension(const TUid &)

IMPORT_C TInt FindExtension ( const TUid & aUid ) const

Returns extension index in iExtensions @ return extension index or KErrNotFound

Parameters

const TUid & aUid

Remove(const CEmailExtension *)

IMPORT_C void Remove ( const CEmailExtension * aExtension )

Removes extension from iExtensions

Parameters

const CEmailExtension * aExtension

Member Data Documentation

RPointerArray< CEmailExtension > iExtensions

RPointerArray < CEmailExtension > iExtensions [private]