#include <gsmuieoperations.h>
| class CSmsHyperLinkOperations : public CSmsCtrlOperation, public CSmsCtrlOperation |
| Public Member Functions | |
|---|---|
| CSmsHyperLinkOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &) | |
| ~CSmsHyperLinkOperations() | |
| IMPORT_C void | AddHyperLinkL(TUint, TUint8, TUint8) |
| IMPORT_C void | CopyHyperLinkAtIndexL(TUint, TUint &, TUint8 &, TUint8 &) |
| IMPORT_C TUint | NumberOfHyperLinksL() |
| IMPORT_C void | RemoveAllHyperLinksL() |
| IMPORT_C void | RemoveHyperLinkL(TUint) |
| Protected Member Functions | |
|---|---|
| virtual void | ValidateOperationL() |
| void | operator=(const CSmsHyperLinkOperations &) |
| TBool | operator==(const CSmsHyperLinkOperations &) |
| Inherited Attributes | |
|---|---|
| CSmsIEOperation::iMessage | |
Clients use this class to configure a CSmsMessage with hyperlinks per 23.040 v6.5.0 section 9.2.3.24.12.
| CSmsHyperLinkOperations | ( | CSmsInformationElement::TSmsInformationElementIdentifier | aId, |
| CSmsMessage & | aMessage | ||
| ) | |||
| ~CSmsHyperLinkOperations | ( | ) | [inline] |
This method adds a HyperLink to the CSmsMessage.
| Parameters | |
|---|---|
| aPosition | The absolute character position within the message text. |
| Leave Codes | |
|---|---|
| KErrNotSupported | If the message version or type does not support hyperlinks. |
| Capability | |
|---|---|
| None |
| IMPORT_C void | CopyHyperLinkAtIndexL | ( | TUint | index, |
| TUint & | aPosition, | |||
| TUint8 & | aTitleLength, | |||
| TUint8 & | aURLLength | |||
| ) | const | |||
Copies the attributes of the specified hyperlink. aIndex has the range [0..[n-1]] where n is the value returned by NumberOfHyperLinks()
| Parameters | |
|---|---|
| index | Identifies the hyperlink to extract. Has the range [0..[n-1]] where n is the value returned by NumberOfHyperLinks(). |
| Leave Codes | |
|---|---|
| KErrNotSupported | If the message version or type does not support hyperlinks. |
| KErrArgument | If aIndex is out of range. |
| Capability | |
|---|---|
| None |
| IMPORT_C TUint | NumberOfHyperLinksL | ( | ) | const |
| Leave Codes | |
|---|---|
| KErrNotSupported | If this functionality is not supported by this version or type of message. |
| Capability | |
|---|---|
| None |
| IMPORT_C void | RemoveAllHyperLinksL | ( | ) | const |
Removes all hyper Link IEs contained in this message.
| Leave Codes | |
|---|---|
| KErrNotSupported | If the message version or type does not support hyperlinks. |
| Capability | |
|---|---|
| None |
| IMPORT_C void | RemoveHyperLinkL | ( | TUint | aIndex | ) | const |
Removes the indexed hyperlink from this message.
| Parameters | |
|---|---|
| aIndex | aIndex has the range [0..[n-1]] where n is the value returned by NumberOfHyperLinks() |
| Leave Codes | |
|---|---|
| KErrNotSupported | If the message version or type does not support hyperlinks. |
| KErrArgument | If the index is out of range. |
| 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 CSmsHyperLinkOperations & | ) | [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 CSmsHyperLinkOperations & | ) | [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 |