#include <gsmuieoperations.h>
class CSmsReplyAddressOperations : public CSmsCtrlOperation, public CSmsCtrlOperation |
Protected Attributes | |
---|---|
CCnvCharacterSetConverter & | iCharacterSetConverter |
RFs & | iFs |
Public Member Functions | |
---|---|
CSmsReplyAddressOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &, CCnvCharacterSetConverter &, RFs &) | |
~CSmsReplyAddressOperations() | |
IMPORT_C void | AddParsedReplyAddressL(const TGsmSmsTelNumber &) |
IMPORT_C void | AddReplyAddressL(const TDesC &) |
IMPORT_C TBool | ContainsReplyAddressIEL() |
IMPORT_C TInt | GetParsedReplyAddressL(TGsmSmsTelNumber &) |
IMPORT_C HBufC * | GetReplyAddressL() |
CSmsReplyAddressOperations * | NewL(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &, CCnvCharacterSetConverter &, RFs &) |
IMPORT_C void | RemoveReplyAddressL() |
Protected Member Functions | |
---|---|
virtual void | ValidateOperationL() |
void | operator=(const CSmsReplyAddressOperations &) |
TBool | operator==(const CSmsReplyAddressOperations &) |
Inherited Attributes | |
---|---|
CSmsIEOperation::iMessage |
Clients use this class to configure a CSmsMessage with a reply address per 23.040 v6.5.0 section 9.2.3.24.10.1.17.
CCnvCharacterSetConverter & | iCharacterSetConverter | [protected] |
RFs & | iFs | [protected] |
CSmsReplyAddressOperations | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aId, |
CSmsMessage & | aMessage, | ||
CCnvCharacterSetConverter & | iCharacterSetConverter, | ||
RFs & | iFs | ||
) |
~CSmsReplyAddressOperations | ( | ) | [inline] |
IMPORT_C void | AddParsedReplyAddressL | ( | const TGsmSmsTelNumber & | aParsedAddress | ) | const |
Adds a reply address information element.
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support a reply addresses. |
KErrAlreadyExists | If the message already contains a reply address. |
Capability | |
---|---|
None |
IMPORT_C void | AddReplyAddressL | ( | const TDesC & | aAddress | ) | const |
Adds a reply address information element.
Parameters | |
---|---|
aAddress | The international number to be used in the reply address. |
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support a reply addresses. |
KErrAlreadyExists | If the message already contains a reply address. |
Capability | |
---|---|
None |
IMPORT_C TBool | ContainsReplyAddressIEL | ( | ) | const |
Identifies whether a reply address has already been added to this CSmsMessage using the CSmsReplyAddressOperations interface.
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support this query. |
Capability | |
---|---|
None |
IMPORT_C TInt | GetParsedReplyAddressL | ( | TGsmSmsTelNumber & | aParsedAddress | ) | const |
Returns the reply address in ETSI format.
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support this query. |
KErrCorrupt | If the reply address is corrupt |
Capability | |
---|---|
None |
IMPORT_C HBufC * | GetReplyAddressL | ( | ) | const |
Returns the reply address as an international number
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support this query. |
KErrNotFound | If the message does not contain a reply address information element. |
KErrCorrupt | If the reply address is corrupt |
Capability | |
---|---|
None |
CSmsReplyAddressOperations * | NewL | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aId, |
CSmsMessage & | aMessage, | |||
CCnvCharacterSetConverter & | aCharacterSetConverter, | |||
RFs & | aFs | |||
) | [static] |
Reimplemented from CSmsIEOperation::NewL(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &,CCnvCharacterSetConverter &,RFs &)
This is used by the CSmsMessage to create a CSmsIEOperation. Each instance is owned by the CSmsMessage which created it. Therefore only the CSmsMessage (GSMU component) is allowed to create and delete CSmsIEOperations.
Parameters | |
---|---|
aId | The ID for the CSmsInformationElement for whom an operation class needs to be created. |
aMessage | The CSmsMessage that this operations class belongs to. |
aCharacterSetConverter | A reference to a character set converter, needed by some derived operation classes. |
aFs | A reference to the file server, needed by some derived operations classes. |
IMPORT_C void | RemoveReplyAddressL | ( | ) | const |
Removes the reply address information element.
Leave Codes | |
---|---|
KErrNotSupported | If the message version or type does not support this query. |
Capability | |
---|---|
None |
void | ValidateOperationL | ( | ) | const [protected, virtual] |
Reimplemented from CSmsIEOperation::ValidateOperationL()const
Identifies whether the message type or version supports this operation
Leave Codes | |
---|---|
void | operator= | ( | const CSmsReplyAddressOperations & | ) | [protected] |
Prevent clients from using the assignment operator by including it in the class definition but making it protected and not exporting it.
Capability | |
---|---|
None |
TBool | operator== | ( | const CSmsReplyAddressOperations & | ) | [protected] |
Prevent clients from using the equality operator by including it in the class definition but making it protected and not exporting it.
Capability | |
---|---|
None |