1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/mobilemessage/interfaces/nsIMmsService.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsISupports.idl" 1.9 +interface nsIMobileMessageCallback; 1.10 +interface nsIDOMBlob; 1.11 + 1.12 +%{C++ 1.13 +#define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \ 1.14 + { 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } } 1.15 +#define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1" 1.16 +%} 1.17 + 1.18 +[scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)] 1.19 +interface nsIMmsService : nsISupports 1.20 +{ 1.21 + readonly attribute unsigned long mmsDefaultServiceId; 1.22 + 1.23 + void send(in unsigned long serviceId, 1.24 + in jsval parameters /* MmsParameters */, 1.25 + in nsIMobileMessageCallback request); 1.26 + 1.27 + void retrieve(in long id, 1.28 + in nsIMobileMessageCallback request); 1.29 + 1.30 + void sendReadReport(in DOMString messageID, 1.31 + in DOMString toAddress, 1.32 + in DOMString iccId); 1.33 +};