|
|
|
Location:
dial.h
Link against: dial.lib
class TDialLocation;
Supported from 5.0
Basic telephone configuration information.
This class stores configuration details related to the current location of the telephone equipment, how to access national and international telephone networks and basic information about the equipment such as 'Phone is mobile'.
Defined in TDialLocation:
AreaCode(), ClearDialLocationFlags(), DialOutLocalCode(), DialOutLongDistanceCode(), DisableCallWaitingCode(), IntlPrefCode(), IsDialOutRequired(), IsDisableCallWaitingCode(), IsMobile(), IsPbxUsePulseDial(), IsReturnPhoneNumberWithPlusFormat(), IsUsePulseDial(), IsWaitForDialingTone(), IsWaitForProceedTone(), NatCode(), NatPrefCode(), PauseAfterDialout(), SetAreaCode(), SetDialLocationFlags(), SetDialOutLocalCode(), SetDialOutLongDistanceCode(), SetDisableCallWaitingCode(), SetIntlPrefCode(), SetNatCode(), SetNatPrefCode(), SetPauseAfterDialout(), TDialLocation(), TDialLocation(), iAreaCode, iDialOutLocalCode, iDialOutLongDistanceCode, iDisableCallWaitingCode, iFlags, iIntlPrefCode, iNatCode, iNatPrefCode, iPauseAfterDialout
TDialLocation(const TIntlPrefCode& aIntlPrefCode, const TNatPrefCode& aNatPrefCode, const TNatCode& aNatCode, const TAreaCode& aAreaCode, const TDialOutLocalCode& aDialOutLocalCode, const TDialOutLongDistanceCode& aDialOutLongDistanceCode, const TDisableCallWaitingCode& aDisableCallWaitingCode, TUint aFlags, TUint aPauseAfterDialout);
Creates a TDialLocation object and initialises its data to the value provided in the associated parameters.
|
void SetIntlPrefCode(const TDesC&);
Sets the international prefix code.
|
void SetNatPrefCode(const TDesC&);
Sets the national prefix number.
|
void SetNatCode(const TDesC&);
Sets the code prefixed to all national numbers.
|
void SetAreaCode(const TDesC&);
Sets the area code.
|
void SetDialOutLocalCode(const TDesC&);
Sets the code used to get local lines on a private telephone network.
|
void SetDialOutLongDistanceCode(const TDesC&);
Sets the code used to get long distance lines on a private telephone network.
|
void SetDisableCallWaitingCode(const TDesC&);
Disables call waiting.
|
void SetDialLocationFlags(TUint);
Sets various dial location optional flags.
For more information see Dialling equipment attributes.
|
inline void ClearDialLocationFlags(TUint);
Clears the specified dial location flags.
|
void SetPauseAfterDialout(TUint);
Specifies whether to follow a local or long distance dial-out code with a pause indicator.
|
TPtrC IntlPrefCode() const;
Returns the current international prefix code.
|
TPtrC NatPrefCode() const;
Returns the current national prefix code.
|
TPtrC NatCode() const;
Returns the current national code.
|
TPtrC DialOutLocalCode() const;
Returns the current local dial out code.
|
TPtrC DialOutLongDistanceCode() const;
Returns the current long distance dial out code.
|
TPtrC DisableCallWaitingCode() const;
Returns the current disable call waiting code.
|
TInt PauseAfterDialout() const;
Determines if the pause character is to be used after the local or long distance dialing out code.
|
TBool IsMobile() const;
Tests if the KPhoneNumberMobile dial location flag is set.
|
inline TBool IsReturnPhoneNumberWithPlusFormat() const;
Tests if the KReturnPhoneNumberWithPlusFormat dial location flag is set.
|
TBool IsUsePulseDial() const;
Tests if the KPhoneNumberUsePulseDial dial location flag is set.
|
TBool IsPbxUsePulseDial() const;
Tests if the KPhoneNumberPbxUsePulseDial dial location flag is set.
|
TBool IsWaitForDialingTone() const;
Tests if the KPhoneNumberWaitForDialingTone dial location flag is set.
|
TBool IsWaitForProceedTone() const;
Tests if the KPhoneNumberWaitForProceedTone dial location flag is set.
|
TBool IsDialOutRequired() const;
Tests if a local or long distance dial out code has been set.
|
TBool IsDisableCallWaitingCode() const;
Tests if the disable call waiting code has been set.
|
private: TDialOutLocalCode iDialOutLocalCode;
This member is internal and not intended for use.
private: TDialOutLongDistanceCode iDialOutLongDistanceCode;
This member is internal and not intended for use.
private: TDisableCallWaitingCode iDisableCallWaitingCode;
This member is internal and not intended for use.
private: TUint iPauseAfterDialout;
This member is internal and not intended for use.