PhCltUtils Class Reference

class PhCltUtils

It contains utility methods.

This class can be used to remove illegal characters from descriptors before dialing. However, it shouldn't be done before you have ensured that string is acceptable by application specific grammar.

Thus, you should process as follows: 1. Check that string is acceptable. (application specific) 2. If not, stop. Otherwise continue. 3. Convert to string acceptable by phoneclient - typically, you just have to remove invalid characters. 4. Do whatever you wish with the string, e.g. dial.

phoneclient.lib
Since
1.0
Public Member Functions
IMPORT_C TBoolIsValidChar(TChar)
IMPORT_C voidRemoveInvalidChars(TDes &)
IMPORT_C voidRemoveURIPrefixdAndDomainChars(TDes &)

Member Functions Documentation

IsValidChar(TChar)

IMPORT_C TBoolIsValidChar(TCharaChar)[static]

Checks if character is acceptable.

Parameters

TChar aCharcharacter.

RemoveInvalidChars(TDes &)

IMPORT_C voidRemoveInvalidChars(TDes &aString)[static]

Removes all illegal characters from descriptor.

Parameters

TDes & aStringstring from which those characters are removed.

RemoveURIPrefixdAndDomainChars(TDes &)

IMPORT_C voidRemoveURIPrefixdAndDomainChars(TDes &aString)[static]

Removes SIP prefixses and domain part from descriptor.

Since
3.0

Parameters

TDes & aStringstring from which those characters are removed.