Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nsISupports.idl" |
michael@0 | 6 | |
michael@0 | 7 | %{C++ |
michael@0 | 8 | #define MOBILE_MESSAGE_DATABASE_SERVICE_CID \ |
michael@0 | 9 | { 0x0d84b9c2, 0x8f76, 0x4ba4, \ |
michael@0 | 10 | { 0xa5, 0xcd, 0xdb, 0xfb, 0x01, 0xdf, 0xda, 0x99 } } |
michael@0 | 11 | #define MOBILE_MESSAGE_DATABASE_SERVICE_CONTRACTID "@mozilla.org/mobilemessage/mobilemessagedatabaseservice;1" |
michael@0 | 12 | %} |
michael@0 | 13 | |
michael@0 | 14 | interface nsICursorContinueCallback; |
michael@0 | 15 | interface nsIDOMMozSmsFilter; |
michael@0 | 16 | interface nsIMobileMessageCallback; |
michael@0 | 17 | interface nsIMobileMessageCursorCallback; |
michael@0 | 18 | |
michael@0 | 19 | [scriptable, uuid(8439916f-abc1-4c67-aa45-8a276a0a7855)] |
michael@0 | 20 | interface nsIMobileMessageDatabaseService : nsISupports |
michael@0 | 21 | { |
michael@0 | 22 | [binaryname(GetMessageMoz)] |
michael@0 | 23 | void getMessage(in long messageId, |
michael@0 | 24 | in nsIMobileMessageCallback request); |
michael@0 | 25 | |
michael@0 | 26 | void deleteMessage([array, size_is(count)] in long messageIds, |
michael@0 | 27 | in uint32_t count, |
michael@0 | 28 | in nsIMobileMessageCallback request); |
michael@0 | 29 | |
michael@0 | 30 | nsICursorContinueCallback createMessageCursor(in nsIDOMMozSmsFilter filter, |
michael@0 | 31 | in boolean reverse, |
michael@0 | 32 | in nsIMobileMessageCursorCallback callback); |
michael@0 | 33 | |
michael@0 | 34 | void markMessageRead(in long messageId, |
michael@0 | 35 | in boolean value, |
michael@0 | 36 | in boolean sendReadReport, |
michael@0 | 37 | in nsIMobileMessageCallback request); |
michael@0 | 38 | |
michael@0 | 39 | nsICursorContinueCallback createThreadCursor(in nsIMobileMessageCursorCallback callback); |
michael@0 | 40 | }; |