mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
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"
|
|
|
|
interface nsIMobileMessageCallback;
|
|
interface nsIDOMBlob;
|
|
|
|
%{C++
|
|
#define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \
|
|
{ 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } }
|
|
#define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1"
|
|
%}
|
|
|
|
[scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)]
|
|
interface nsIMmsService : nsISupports
|
|
{
|
|
readonly attribute unsigned long mmsDefaultServiceId;
|
|
|
|
void send(in unsigned long serviceId,
|
|
in jsval parameters /* MmsParameters */,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void retrieve(in long id,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void sendReadReport(in DOMString messageID,
|
|
in DOMString toAddress,
|
|
in DOMString iccId);
|
|
};
|
|
|
|
%{C++
|
|
template<typename T> struct already_AddRefed;
|
|
|
|
already_AddRefed<nsIMmsService>
|
|
NS_CreateMmsService();
|
|
%}
|