| class CSendAsAccounts : public CBase |
Provides human-readable names and IDs for the list of accounts for a given message type.
| Public Member Functions | |
|---|---|
| ~CSendAsAccounts() | |
| IMPORT_C TSendAsAccount | Account(TInt) |
| IMPORT_C TSendAsAccount | AccountFromNameL(const TDesC &) |
| IMPORT_C const MDesCArray & | AccountNames() |
| IMPORT_C void | AppendAccountL(const TDesC &, TSendAsAccount) |
| IMPORT_C TInt | Count() |
| IMPORT_C void | ExternalizeL(RWriteStream &) |
| IMPORT_C void | InternalizeL(RReadStream &) |
| IMPORT_C TUid | MessageType() |
| IMPORT_C TPtrC | NameFromAccountL(const TSendAsAccount) |
| IMPORT_C CSendAsAccounts * | NewL() |
| IMPORT_C void | RemoveAccount(TInt) |
| IMPORT_C void | Reset() |
| IMPORT_C void | SetMessageType(TUid) |
| IMPORT_C TInt | Size() |
| Private Member Functions | |
|---|---|
| CSendAsAccounts() | |
| void | ConstructL() |
| Private Attributes | |
|---|---|
| CDesCArrayFlat * | iAccountNames |
| RArray< TSendAsAccount > | iAccounts |
| TUid | iMessageType |
| IMPORT_C TSendAsAccount | AccountFromNameL | ( | const TDesC & | aName | ) | const |
| const TDesC & aName |
| IMPORT_C void | AppendAccountL | ( | const TDesC & | aAccountName, |
| TSendAsAccount | aAccount | |||
| ) | ||||
| const TDesC & aAccountName | |
| TSendAsAccount aAccount |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
| RWriteStream & aWriteStream |
| IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
| RReadStream & aReadStream |
| IMPORT_C TPtrC | NameFromAccountL | ( | const TSendAsAccount | aAccount | ) | const |
| const TSendAsAccount aAccount |