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
Public Member Functions
TEmailExtensions()
~TEmailExtensions()
IMPORT_C voidAddL(CEmailExtension *)
IMPORT_C CEmailExtension *Extension(const TInt)
IMPORT_C TIntFindExtension(const TUid &)
IMPORT_C voidRemove(const CEmailExtension *)
Private Attributes
RPointerArray< CEmailExtension >iExtensions

Constructor & Destructor Documentation

TEmailExtensions()

IMPORT_CTEmailExtensions()

c++ constructor

~TEmailExtensions()

IMPORT_C~TEmailExtensions()

Destructor

Member Functions Documentation

AddL(CEmailExtension *)

IMPORT_C voidAddL(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 TIntaIndex)const
Returns extension by index or panics if invalid index is given
panic
EEmailExtensionIndexOutOfRange if index is out of range

Parameters

const TInt aIndexindex in iExtensions

FindExtension(const TUid &)

IMPORT_C TIntFindExtension(const TUid &aUid)const

Returns extension index in iExtensions @ return extension index or KErrNotFound

Parameters

const TUid & aUid

Remove(const CEmailExtension *)

IMPORT_C voidRemove(const CEmailExtension *aExtension)

Removes extension from iExtensions

Parameters

const CEmailExtension * aExtension

Member Data Documentation

RPointerArray< CEmailExtension > iExtensions

RPointerArray< CEmailExtension >iExtensions[private]