tenfourfox/dom/voicemail/gonk/nsIGonkVoicemailService.idl
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

31 lines
1.0 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 "nsIVoicemailService.idl"
%{C++
#define GONK_VOICEMAIL_SERVICE_CONTRACTID \
"@mozilla.org/voicemail/gonkvoicemailservice;1"
%}
[scriptable, uuid(d21dbc55-f540-417d-aa3e-9e890764e957)]
interface nsIGonkVoicemailService : nsIVoicemailService
{
/**
* Called when a voicemail notification has been received by the network.
*/
void notifyStatusChanged(in unsigned long serviceId,
in bool hasMessages,
in long messageCount,
in DOMString returnNumber,
in DOMString returnMessage);
/**
* Called when other voicemail attributes changed.
*/
void notifyInfoChanged(in unsigned long serviceId,
in DOMString number,
in DOMString displayName);
};