2012-06-03 22:04:41 -07:00
|
|
|
/* 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"
|
2013-03-08 23:22:25 -08:00
|
|
|
interface nsIMobileMessageCallback;
|
|
|
|
interface nsIDOMBlob;
|
2012-06-03 22:04:41 -07:00
|
|
|
|
2013-03-08 23:22:32 -08:00
|
|
|
%{C++
|
2013-04-10 05:18:32 -07:00
|
|
|
#define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \
|
|
|
|
{ 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } }
|
|
|
|
#define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1"
|
2013-03-08 23:22:32 -08:00
|
|
|
%}
|
|
|
|
|
2013-03-21 02:57:41 -07:00
|
|
|
[scriptable, uuid(e5ef630a-eab7-425a-ac42-650ef5c4fcef)]
|
2012-06-03 22:04:41 -07:00
|
|
|
interface nsIMmsService : nsISupports
|
|
|
|
{
|
2013-03-08 23:22:25 -08:00
|
|
|
void send(in jsval parameters /* MmsParameters */,
|
|
|
|
in nsIMobileMessageCallback request);
|
2013-03-21 02:57:41 -07:00
|
|
|
|
|
|
|
void retrieve(in long id,
|
|
|
|
in nsIMobileMessageCallback request);
|
2012-06-03 22:04:41 -07:00
|
|
|
};
|