gecko-dev/dom/mobilemessage/interfaces/nsIWapPushApplication.idl
Vicamo Yang 6e041b2bae Bug 871944 - move dom/mms/* to dom/mobilemessage/*. r=gene
--HG--
rename : dom/mms/interfaces/nsIMmsService.idl => dom/mobilemessage/interfaces/nsIMmsService.idl
rename : dom/mms/interfaces/nsIWapPushApplication.idl => dom/mobilemessage/interfaces/nsIWapPushApplication.idl
rename : dom/mms/src/ril/MmsPduHelper.jsm => dom/mobilemessage/src/ril/MmsPduHelper.jsm
rename : dom/mms/src/ril/MmsService.js => dom/mobilemessage/src/ril/MmsService.js
rename : dom/mms/src/ril/MmsService.manifest => dom/mobilemessage/src/ril/MmsService.manifest
rename : dom/mms/src/ril/WapPushManager.js => dom/mobilemessage/src/ril/WapPushManager.js
rename : dom/mms/src/ril/WspPduHelper.jsm => dom/mobilemessage/src/ril/WspPduHelper.jsm
rename : dom/mms/src/ril/mms_consts.js => dom/mobilemessage/src/ril/mms_consts.js
rename : dom/mms/src/ril/wap_consts.js => dom/mobilemessage/src/ril/wap_consts.js
rename : dom/mms/tests/header_helpers.js => dom/mobilemessage/tests/header_helpers.js
rename : dom/mms/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/test_mms_pdu_helper.js
rename : dom/mms/tests/test_mms_service.js => dom/mobilemessage/tests/test_mms_service.js
rename : dom/mms/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/test_wsp_pdu_helper.js
2013-05-27 11:18:50 +08:00

31 lines
1005 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
/**
* Handle WAP Push notifications.
*/
[scriptable, uuid(fd6f7f6b-a67e-4892-930d-fca864df8fe7)]
interface nsIWapPushApplication : nsISupports
{
/**
* Receive WAP Push message.
*
* @param aData
* An array containing raw PDU data.
* @param aLength
* Length of aData.
* @param aOffset
* Start offset of aData containing message body of the Push PDU.
* @param options
* An object containing various attributes from lower transport layer.
*/
void receiveWapPush([array, size_is(aLength)] in octet aData,
in unsigned long aLength,
in unsigned long aOffset,
in jsval aOptions);
};