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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: interface nsIMobileMessageCallback; michael@0: interface nsIDOMBlob; michael@0: michael@0: %{C++ michael@0: #define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \ michael@0: { 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } } michael@0: #define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1" michael@0: %} michael@0: michael@0: [scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)] michael@0: interface nsIMmsService : nsISupports michael@0: { michael@0: readonly attribute unsigned long mmsDefaultServiceId; michael@0: michael@0: void send(in unsigned long serviceId, michael@0: in jsval parameters /* MmsParameters */, michael@0: in nsIMobileMessageCallback request); michael@0: michael@0: void retrieve(in long id, michael@0: in nsIMobileMessageCallback request); michael@0: michael@0: void sendReadReport(in DOMString messageID, michael@0: in DOMString toAddress, michael@0: in DOMString iccId); michael@0: };