#include <mw/cmsvrecipientlist.h>
class CMsvRecipientList : public CBase |
Public Member Functions | |
---|---|
virtual | ~CMsvRecipientList() |
IMPORT_C void | AppendL(const TDesC &) |
IMPORT_C void | AppendL(TMsvRecipientType, const TDesC &) |
IMPORT_C TInt | Count() |
IMPORT_C void | Delete(TInt) |
IMPORT_C void | Delete(TInt, TInt) |
CMsvRecipientList * | NewL() |
CMsvRecipientList * | NewLC() |
IMPORT_C const MDesCArray & | RecipientList() |
IMPORT_C void | Reset() |
IMPORT_C TMsvRecipientType | Type(TInt) |
IMPORT_C const TDesC & | operator[](TInt) |
IMPORT_C void | AppendL | ( | const TDesC & | aPtr | ) |
Appends a new address as a 'to' recipient.
Parameters | |
---|---|
aPtr | The address to add. |
IMPORT_C void | AppendL | ( | TMsvRecipientType | aValue, |
const TDesC & | aPtr | |||
) |
Appends a new address a the given recipient type.
Parameters | |
---|---|
aValue | The type of addressee. Possible types are EMtmRecipientTo, EMtmRecipientCc and EMtmRecipientBcc |
aPtr | The address to add. |
IMPORT_C TInt | Count | ( | ) | const |
The number of accounts for this message type.
IMPORT_C void | Delete | ( | TInt | aPos | ) |
Deletes an existing address.
Parameters | |
---|---|
aPos | The index of the address to delete. |
CMsvRecipientList * | NewL | ( | ) | [static] |
Create a new CMsvRecipientList.
CMsvRecipientList * | NewLC | ( | ) | [static] |
Create a new CMsvRecipientList.
IMPORT_C const MDesCArray & | RecipientList | ( | ) | const |
IMPORT_C TMsvRecipientType | Type | ( | TInt | aPos | ) | const |
Returns the address type specified by the index given.