mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 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"
|
|
|
|
%{C++
|
|
#define MOBILE_MESSAGE_DATABASE_SERVICE_CID \
|
|
{ 0x0d84b9c2, 0x8f76, 0x4ba4, \
|
|
{ 0xa5, 0xcd, 0xdb, 0xfb, 0x01, 0xdf, 0xda, 0x99 } }
|
|
#define MOBILE_MESSAGE_DATABASE_SERVICE_CONTRACTID "@mozilla.org/mobilemessage/mobilemessagedatabaseservice;1"
|
|
%}
|
|
|
|
interface nsIDOMMozSmsFilter;
|
|
interface nsIMobileMessageCallback;
|
|
|
|
[scriptable, uuid(4000064a-86d2-11e2-b4a6-ef0f30bd1e59)]
|
|
interface nsIMobileMessageDatabaseService : nsISupports
|
|
{
|
|
[binaryname(GetMessageMoz)]
|
|
void getMessage(in long messageId,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void deleteMessage(in long messageId,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void createMessageList(in nsIDOMMozSmsFilter filter,
|
|
in boolean reverse,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void getNextMessageInList(in long listId,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void clearMessageList(in long listId);
|
|
|
|
void markMessageRead(in long messageId,
|
|
in boolean value,
|
|
in nsIMobileMessageCallback request);
|
|
|
|
void getThreadList(in nsIMobileMessageCallback request);
|
|
};
|