dom/mobilemessage/interfaces/nsIMmsService.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     5 #include "nsISupports.idl"
     6 interface nsIMobileMessageCallback;
     7 interface nsIDOMBlob;
     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 %}
    15 [scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)]
    16 interface nsIMmsService : nsISupports
    17 {
    18   readonly attribute unsigned long mmsDefaultServiceId;
    20   void send(in unsigned long serviceId,
    21             in jsval parameters /* MmsParameters */,
    22             in nsIMobileMessageCallback request);
    24   void retrieve(in long id,
    25                 in nsIMobileMessageCallback request);
    27   void sendReadReport(in DOMString messageID,
    28                       in DOMString toAddress,
    29                       in DOMString iccId);
    30 };

mercurial