#include <dial.h>
Link against: dial.lib
class TelephoneNumber |
Public Member Functions | |
---|---|
IMPORT_C TInt | CalculateDialCityPrefix(TDialString &, const TCityDialCodes &, const TCityDialCodes &, TCityDialOptions, TChar, TPlusFormatDialOptions) |
IMPORT_C TInt | Parse(TDialString &, const TDialLocation &, const TChargeCard &, const TDesC &, TParseMode) |
IMPORT_C TInt | Parse(TDialString &, const TDialLocation &, const TDesC &) |
IMPORT_C TInt | Parse(TDialString &, const TDialLocation &, const TDesC &, TCityDialOptions) |
A static class that provides functions to resolve telephone numbers.
DeprecatedThis class has been deprecated from 9.1 and should no longer be used.
IMPORT_C TInt | CalculateDialCityPrefix | ( | TDialString & | aDialString, |
const TCityDialCodes & | aFrom, | |||
const TCityDialCodes & | aTo, | |||
TCityDialOptions | aOption, | |||
TChar | aCodeSeparator, | |||
TPlusFormatDialOptions | aPlusOption | |||
) | [static] |
This parser resolves the phone number for Time/World application.
Deprecated9.1
Parameters | |
---|---|
aDialString | The results of the telephone parser are stored here. |
aFrom | Specifies the area code of the dialling location. |
aTo | Specifies the area code of the city being dialled. |
aOption | This option applies when the phone number being dialled is in the same location as the dialler: It controls whether the area code is included in the final dial string. |
aCodeSeparator | Specifies the code separator. |
aPlusOption | Specifies whether the dial string is in full or in the + char format. |
IMPORT_C TInt | Parse | ( | TDialString & | aDialString, |
const TDialLocation & | aDialLocation, | |||
const TChargeCard & | aChargeCard, | |||
const TDesC & | aPhoneNumber, | |||
TParseMode | aParseMode | |||
) | [static] |
This parser resolves a phone number with additional of a TChargeCard.
Deprecated9.1
Parameters | |
---|---|
aDialString | The results of the telephone parser are stored here. |
aDialLocation | Specifies the dialling location. |
aChargeCard | Specifies charge card information. |
aPhoneNumber | A telephone number is to be parsed in the form of +44 20 ... |
aParseMode | Indicates whether the resulting string is for display or for dialling. |
IMPORT_C TInt | Parse | ( | TDialString & | aDialString, |
const TDialLocation & | aDialLocation, | |||
const TDesC & | aPhoneNumber | |||
) | [static] |
This parser resolves a phone number. It assumes that TCityDialOption is always set to EDialCityStripDuplicateAreaCode
Deprecated9.1
Parameters | |
---|---|
aDialString | The results of the telephone parser are stored here. |
aDialLocation | Specifies the dialling location. |
aPhoneNumber | Telephone number is to be parsed in the form of +44 20... |
IMPORT_C TInt | Parse | ( | TDialString & | aDialString, |
const TDialLocation & | aDialLocation, | |||
const TDesC & | aPhoneNumber, | |||
TCityDialOptions | aOption | |||
) | [static] |
This parser resolves a phone number.
Deprecated9.1
Parameters | |
---|---|
aDialString | The results of the telephone parser are stored here. |
aDialLocation | Specifies the dialling location. |
aPhoneNumber | Telephone number is to be parsed in the form of +44 20 ... |
aOption | This option applies when the phone number being dialled is in the same location as the dialler: It controls whether the area code is included in the final dial string. |