mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 854790 1/4: Support filtering mobile messages with thread id. Interface changes. sr=mounir
This commit is contained in:
parent
f8906b8557
commit
5c0ed72139
@ -4,7 +4,7 @@
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, builtinclass, uuid(ce055c33-553d-4b0e-9bd8-91d93a057c90)]
|
||||
[scriptable, builtinclass, uuid(17890b60-0367-45c6-9729-62e5bf349b2b)]
|
||||
interface nsIDOMMozSmsFilter : nsISupports
|
||||
{
|
||||
// A date that can return null.
|
||||
@ -26,4 +26,8 @@ interface nsIDOMMozSmsFilter : nsISupports
|
||||
// A read flag that can be a boolean or undefined.
|
||||
[implicit_jscontext]
|
||||
attribute jsval read;
|
||||
|
||||
// A thread id that can be a numeric value or undefined.
|
||||
[implicit_jscontext]
|
||||
attribute jsval threadId;
|
||||
};
|
||||
|
@ -58,17 +58,20 @@ struct MmsMessageData
|
||||
MmsAttachmentData[] attachments;
|
||||
};
|
||||
|
||||
union MobileMessageData {
|
||||
union MobileMessageData
|
||||
{
|
||||
MmsMessageData;
|
||||
SmsMessageData;
|
||||
};
|
||||
|
||||
struct SmsFilterData {
|
||||
struct SmsFilterData
|
||||
{
|
||||
uint64_t startDate;
|
||||
uint64_t endDate;
|
||||
nsString[] numbers;
|
||||
DeliveryState delivery;
|
||||
ReadState read;
|
||||
uint64_t threadId;
|
||||
};
|
||||
|
||||
struct ThreadData
|
||||
|
Loading…
Reference in New Issue
Block a user