michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: #include "nsISupports.idl" michael@0: michael@0: [scriptable, builtinclass, uuid(525ad3a6-59a9-11e3-bdc3-836486cb58be)] michael@0: interface nsIDOMMozMobileMessageThread : nsISupports michael@0: { michael@0: // Unique identity of the thread. michael@0: readonly attribute unsigned long long id; michael@0: michael@0: // Last (MMS) message subject. michael@0: readonly attribute DOMString lastMessageSubject; michael@0: michael@0: // Message body of the last message in the thread. michael@0: readonly attribute DOMString body; michael@0: michael@0: // Total unread messages in the thread. michael@0: readonly attribute unsigned long long unreadCount; michael@0: michael@0: // Participant addresses of the thread. michael@0: [implicit_jscontext] michael@0: readonly attribute jsval participants; // DOMString[] michael@0: michael@0: // Timestamp of the last message in the thread. michael@0: readonly attribute DOMTimeStamp timestamp; michael@0: michael@0: // Message type of the last message in the thread. michael@0: readonly attribute DOMString lastMessageType; michael@0: };