mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 847744: Part 3 - IPDL change. r=vicamo,jdm
This commit is contained in:
parent
7152e75547
commit
27cebb84cc
@ -400,7 +400,7 @@ parent:
|
||||
PSms();
|
||||
|
||||
PSpeechSynthesis();
|
||||
|
||||
|
||||
PStorage(StorageConstructData data);
|
||||
|
||||
PBluetooth();
|
||||
|
@ -7,6 +7,7 @@
|
||||
include "mozilla/dom/mobilemessage/Types.h";
|
||||
|
||||
include protocol PSms;
|
||||
include protocol PBlob;
|
||||
include SmsTypes;
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -7,18 +7,33 @@
|
||||
include protocol PContent;
|
||||
include protocol PSmsRequest;
|
||||
include protocol PMobileMessageCursor;
|
||||
include protocol PBlob;
|
||||
include SmsTypes;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
namespace mobilemessage {
|
||||
|
||||
struct SendMessageRequest
|
||||
struct SendMmsMessageRequest
|
||||
{
|
||||
nsString[] receivers;
|
||||
nsString subject;
|
||||
nsString smil;
|
||||
MmsAttachmentData[] attachments;
|
||||
};
|
||||
|
||||
struct SendSmsMessageRequest
|
||||
{
|
||||
nsString number;
|
||||
nsString message;
|
||||
};
|
||||
|
||||
union SendMessageRequest
|
||||
{
|
||||
SendMmsMessageRequest;
|
||||
SendSmsMessageRequest;
|
||||
};
|
||||
|
||||
struct GetMessageRequest
|
||||
{
|
||||
int32_t messageId;
|
||||
@ -65,17 +80,17 @@ sync protocol PSms {
|
||||
manages PMobileMessageCursor;
|
||||
|
||||
child:
|
||||
NotifyReceivedMessage(SmsMessageData aMessageData);
|
||||
NotifyReceivedMessage(MobileMessageData aMessageData);
|
||||
|
||||
NotifySendingMessage(SmsMessageData aMessageData);
|
||||
NotifySendingMessage(MobileMessageData aMessageData);
|
||||
|
||||
NotifySentMessage(SmsMessageData aMessageData);
|
||||
NotifySentMessage(MobileMessageData aMessageData);
|
||||
|
||||
NotifyFailedMessage(SmsMessageData aMessageData);
|
||||
NotifyFailedMessage(MobileMessageData aMessageData);
|
||||
|
||||
NotifyDeliverySuccessMessage(SmsMessageData aMessageData);
|
||||
NotifyDeliverySuccessMessage(MobileMessageData aMessageData);
|
||||
|
||||
NotifyDeliveryErrorMessage(SmsMessageData aMessageData);
|
||||
NotifyDeliveryErrorMessage(MobileMessageData aMessageData);
|
||||
|
||||
parent:
|
||||
/**
|
||||
|
@ -8,6 +8,7 @@
|
||||
include "mozilla/dom/mobilemessage/Types.h";
|
||||
|
||||
include protocol PSms;
|
||||
include protocol PBlob;
|
||||
include SmsTypes;
|
||||
|
||||
namespace mozilla {
|
||||
@ -27,7 +28,7 @@ child:
|
||||
|
||||
struct ReplyMessageSend
|
||||
{
|
||||
SmsMessageData messageData;
|
||||
MobileMessageData messageData;
|
||||
};
|
||||
|
||||
struct ReplyMessageSendFail
|
||||
@ -37,7 +38,7 @@ struct ReplyMessageSendFail
|
||||
|
||||
struct ReplyGetMessage
|
||||
{
|
||||
SmsMessageData messageData;
|
||||
MobileMessageData messageData;
|
||||
};
|
||||
|
||||
struct ReplyGetMessageFail
|
||||
|
@ -5,6 +5,7 @@
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
include "mozilla/dom/mobilemessage/Types.h";
|
||||
include protocol PBlob;
|
||||
|
||||
using DeliveryState;
|
||||
using DeliveryStatus;
|
||||
@ -36,8 +37,33 @@ struct SmsMessageData
|
||||
bool read;
|
||||
};
|
||||
|
||||
struct SmsFilterData
|
||||
struct MmsAttachmentData
|
||||
{
|
||||
nsString id;
|
||||
nsString location;
|
||||
PBlob content;
|
||||
};
|
||||
|
||||
struct MmsMessageData
|
||||
{
|
||||
int32_t id;
|
||||
DeliveryState delivery;
|
||||
DeliveryStatus[] deliveryStatus;
|
||||
nsString sender;
|
||||
nsString[] receivers;
|
||||
uint64_t timestamp;
|
||||
bool read;
|
||||
nsString subject;
|
||||
nsString smil;
|
||||
MmsAttachmentData[] attachments;
|
||||
};
|
||||
|
||||
union MobileMessageData {
|
||||
MmsMessageData;
|
||||
SmsMessageData;
|
||||
};
|
||||
|
||||
struct SmsFilterData {
|
||||
uint64_t startDate;
|
||||
uint64_t endDate;
|
||||
nsString[] numbers;
|
||||
@ -56,6 +82,7 @@ struct ThreadData
|
||||
|
||||
union MobileMessageCursorData
|
||||
{
|
||||
MmsMessageData;
|
||||
SmsMessageData;
|
||||
ThreadData;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user