|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #include "nsISupports.idl" |
|
6 interface nsIMobileMessageCallback; |
|
7 interface nsIDOMBlob; |
|
8 |
|
9 %{C++ |
|
10 #define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \ |
|
11 { 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } } |
|
12 #define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1" |
|
13 %} |
|
14 |
|
15 [scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)] |
|
16 interface nsIMmsService : nsISupports |
|
17 { |
|
18 readonly attribute unsigned long mmsDefaultServiceId; |
|
19 |
|
20 void send(in unsigned long serviceId, |
|
21 in jsval parameters /* MmsParameters */, |
|
22 in nsIMobileMessageCallback request); |
|
23 |
|
24 void retrieve(in long id, |
|
25 in nsIMobileMessageCallback request); |
|
26 |
|
27 void sendReadReport(in DOMString messageID, |
|
28 in DOMString toAddress, |
|
29 in DOMString iccId); |
|
30 }; |