dom/mobilemessage/interfaces/nsIWapPushApplication.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"
     7 /**
     8  * Handle WAP Push notifications.
     9  */
    10 [scriptable, uuid(fd6f7f6b-a67e-4892-930d-fca864df8fe7)]
    11 interface nsIWapPushApplication : nsISupports
    12 {
    13   /**
    14    * Receive WAP Push message.
    15    *
    16    * @param aData
    17    *        An array containing raw PDU data.
    18    * @param aLength
    19    *        Length of aData.
    20    * @param aOffset
    21    *        Start offset of aData containing message body of the Push PDU.
    22    * @param options
    23    *        An object containing various attributes from lower transport layer.
    24    */
    25   void receiveWapPush([array, size_is(aLength)] in octet aData,
    26                       in unsigned long                   aLength,
    27                       in unsigned long                   aOffset,
    28                       in jsval                           aOptions);
    29 };

mercurial