mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043250
- Part 4: Update SMS IPC implementation. r=btseng
PSmsRequest.ipdl: - Update ReplyGetSmscAddress to include extra parameters. SmsChild: - Update Recv__delete__ to reflect the change of PSmsRequest. SmsParent: - Update NotifyGetSmscAddress to reflect the change of PSmsRequest.
This commit is contained in:
parent
3943cc4770
commit
c4b27691b2
@ -87,6 +87,8 @@ struct ReplyGetSegmentInfoForTextFail
|
||||
struct ReplyGetSmscAddress
|
||||
{
|
||||
nsString smscAddress;
|
||||
uint32_t typeOfNumber;
|
||||
uint32_t numberPlanIdentification;
|
||||
};
|
||||
|
||||
struct ReplyGetSmscAddressFail
|
||||
|
@ -259,7 +259,9 @@ SmsRequestChild::Recv__delete__(const MessageReply& aReply)
|
||||
aReply.get_ReplyGetSegmentInfoForTextFail().error());
|
||||
break;
|
||||
case MessageReply::TReplyGetSmscAddress:
|
||||
mReplyRequest->NotifyGetSmscAddress(aReply.get_ReplyGetSmscAddress().smscAddress());
|
||||
mReplyRequest->NotifyGetSmscAddress(aReply.get_ReplyGetSmscAddress().smscAddress(),
|
||||
aReply.get_ReplyGetSmscAddress().typeOfNumber(),
|
||||
aReply.get_ReplyGetSmscAddress().numberPlanIdentification());
|
||||
break;
|
||||
case MessageReply::TReplyGetSmscAddressFail:
|
||||
mReplyRequest->NotifyGetSmscAddressFailed(aReply.get_ReplyGetSmscAddressFail().error());
|
||||
|
@ -761,9 +761,13 @@ SmsRequestParent::NotifyGetSegmentInfoForTextFailed(int32_t aError)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
SmsRequestParent::NotifyGetSmscAddress(const nsAString& aSmscAddress)
|
||||
SmsRequestParent::NotifyGetSmscAddress(const nsAString& aSmscAddress,
|
||||
uint32_t aTypeOfNumber,
|
||||
uint32_t aNumberPlanIdentification)
|
||||
{
|
||||
return SendReply(ReplyGetSmscAddress(nsString(aSmscAddress)));
|
||||
return SendReply(ReplyGetSmscAddress(nsString(aSmscAddress),
|
||||
aTypeOfNumber,
|
||||
aNumberPlanIdentification));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user