зеркало из https://github.com/mozilla/gecko-dev.git
Bug 773068 - Part 2: Voicemail phone number DOM implementation. r=smaug
This commit is contained in:
Родитель
8d9741763e
Коммит
d6b7954475
|
@ -72,6 +72,24 @@ Voicemail::GetStatus(nsIDOMMozVoicemailStatus** aStatus)
|
|||
return mRIL->GetVoicemailStatus(aStatus);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
Voicemail::GetNumber(nsAString& aNumber)
|
||||
{
|
||||
NS_ENSURE_STATE(mRIL);
|
||||
aNumber.SetIsVoid(true);
|
||||
|
||||
return mRIL->GetVoicemailNumber(aNumber);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
Voicemail::GetDisplayName(nsAString& aDisplayName)
|
||||
{
|
||||
NS_ENSURE_STATE(mRIL);
|
||||
aDisplayName.SetIsVoid(true);
|
||||
|
||||
return mRIL->GetVoicemailDisplayName(aDisplayName);
|
||||
}
|
||||
|
||||
NS_IMPL_EVENT_HANDLER(Voicemail, statuschanged)
|
||||
|
||||
// nsIRILVoicemailCallback
|
||||
|
|
Загрузка…
Ссылка в новой задаче