mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
[scriptable, builtinclass, uuid(9672c75d-61a2-470e-964b-2396dcff7cf6)]
|
|
interface nsIDOMMozMobileMessageThread : nsISupports
|
|
{
|
|
// Unique identity of the thread.
|
|
readonly attribute unsigned long long id;
|
|
|
|
// Last (MMS) message subject.
|
|
readonly attribute DOMString lastMessageSubject;
|
|
|
|
// Message body of the last message in the thread.
|
|
readonly attribute DOMString body;
|
|
|
|
// Total unread messages in the thread.
|
|
readonly attribute unsigned long long unreadCount;
|
|
|
|
// Participant addresses of the thread.
|
|
[implicit_jscontext]
|
|
readonly attribute jsval participants; // DOMString[]
|
|
|
|
// Timestamp of the last message in the thread.
|
|
[implicit_jscontext]
|
|
readonly attribute jsval timestamp; // jsval is for Date.
|
|
|
|
// Message type of the last message in the thread.
|
|
readonly attribute DOMString lastMessageType;
|
|
};
|