CSmsHyperLinkOperations Class Reference

#include <gsmuieoperations.h>

class CSmsHyperLinkOperations : public CSmsCtrlOperation, public CSmsCtrlOperation
Public Member Functions
CSmsHyperLinkOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &)
~CSmsHyperLinkOperations()
IMPORT_C voidAddHyperLinkL(TUint, TUint8, TUint8)
IMPORT_C voidCopyHyperLinkAtIndexL(TUint, TUint &, TUint8 &, TUint8 &)
IMPORT_C TUintNumberOfHyperLinksL()
IMPORT_C voidRemoveAllHyperLinksL()
IMPORT_C voidRemoveHyperLinkL(TUint)
Protected Member Functions
virtual voidValidateOperationL()
voidoperator=(const CSmsHyperLinkOperations &)
TBool operator==(const CSmsHyperLinkOperations &)
Inherited Attributes
CSmsIEOperation::iMessage
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSmsCtrlOperation::CSmsCtrlOperation(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &)
CSmsCtrlOperation::operator=(const CSmsCtrlOperation &)
CSmsCtrlOperation::operator==(const CSmsCtrlOperation &)
CSmsCtrlOperation::~CSmsCtrlOperation()
CSmsIEOperation::CSmsIEOperation(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &)
CSmsIEOperation::Id()const
CSmsIEOperation::MessageTypeSupported()const
CSmsIEOperation::NewL(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &,CCnvCharacterSetConverter &,RFs &)
CSmsIEOperation::operator=(const CSmsIEOperation &)
CSmsIEOperation::operator==(const CSmsIEOperation &)
CSmsIEOperation::~CSmsIEOperation()

Detailed Description

Clients use this class to configure a CSmsMessage with hyperlinks per 23.040 v6.5.0 section 9.2.3.24.12.

Constructor & Destructor Documentation

CSmsHyperLinkOperations ( CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage & )

CSmsHyperLinkOperations(CSmsInformationElement::TSmsInformationElementIdentifieraId,
CSmsMessage &aMessage
)

~CSmsHyperLinkOperations ( )

~CSmsHyperLinkOperations()[inline]

Member Function Documentation

AddHyperLinkL ( TUint, TUint8, TUint8 )

IMPORT_C voidAddHyperLinkL(TUintaPosition,
TUint8aTitleLength,
TUint8aURLLength
)const

This method adds a HyperLink to the CSmsMessage.

Parameters
aPositionThe absolute character position within the message text.
Leave Codes
KErrNotSupportedIf the message version or type does not support hyperlinks.
Capability
None

CopyHyperLinkAtIndexL ( TUint, TUint &, TUint8 &, TUint8 & )

IMPORT_C voidCopyHyperLinkAtIndexL(TUintindex,
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
indexIdentifies the hyperlink to extract. Has the range [0..[n-1]] where n is the value returned by NumberOfHyperLinks().
Leave Codes
KErrNotSupportedIf the message version or type does not support hyperlinks.
KErrArgumentIf aIndex is out of range.
Capability
None

NumberOfHyperLinksL ( )

IMPORT_C TUintNumberOfHyperLinksL()const
Returns the number of Hyper Link IEs contained in this message.
Return Value
The number of hyper links contained in this message.
Leave Codes
KErrNotSupportedIf this functionality is not supported by this version or type of message.
Capability
None

RemoveAllHyperLinksL ( )

IMPORT_C voidRemoveAllHyperLinksL()const

Removes all hyper Link IEs contained in this message.

Leave Codes
KErrNotSupportedIf the message version or type does not support hyperlinks.
Capability
None

RemoveHyperLinkL ( TUint )

IMPORT_C voidRemoveHyperLinkL(TUintaIndex)const

Removes the indexed hyperlink from this message.

Parameters
aIndexaIndex has the range [0..[n-1]] where n is the value returned by NumberOfHyperLinks()
Leave Codes
KErrNotSupportedIf the message version or type does not support hyperlinks.
KErrArgumentIf the index is out of range.
Capability
None

ValidateOperationL ( )

voidValidateOperationL()const [protected, virtual]

Identifies whether the message type or version supports this operation

If the message type or version does not support this operation.
Leave Codes

operator= ( const CSmsHyperLinkOperations & )

voidoperator=(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

operator== ( const CSmsHyperLinkOperations & )

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