This file is indexed.

/usr/share/idl/thunderbird/nsIMobileMessageService.idl is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* 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 nsIDeletedMessageInfo;
interface nsIDOMMozSmsMessage;
interface nsIDOMMozMmsMessage;
interface nsIDOMMozMobileMessageThread;

%{C++
#define MOBILE_MESSAGE_SERVICE_CID { 0x829c1dd6, 0x0466, 0x4591, { 0x83, 0x6f, 0xb8, 0xf6, 0xfd, 0x1f, 0x7b, 0xa5 } }
#define MOBILE_MESSAGE_SERVICE_CONTRACTID "@mozilla.org/mobilemessage/mobilemessageservice;1"
%}

[scriptable, builtinclass, uuid(bc28e604-53ee-4be9-af20-268ce9efc61a)]
interface nsIMobileMessageService : nsISupports
{
  [implicit_jscontext]
  nsIDOMMozSmsMessage createSmsMessage(in long               id,
                                       in unsigned long long threadId,
                                       in DOMString          iccId,
                                       in DOMString          delivery,
                                       in DOMString          deliveryStatus,
                                       in DOMString          sender,
                                       in DOMString          receiver,
                                       in DOMString          body,
                                       in DOMString          messageClass,
                                       in unsigned long long timestamp,
                                       in unsigned long long sentTimestamp,
                                       in unsigned long long deliveryTimestamp,
                                       in bool               read);

  [implicit_jscontext]
  nsIDOMMozMmsMessage createMmsMessage(in long               id,
                                       in unsigned long long threadId,
                                       in DOMString          iccId,
                                       in DOMString          delivery,
                                       in jsval              deliveryInfo,
                                       in DOMString          sender,
                                       in jsval              receivers,
                                       in unsigned long long timestamp,
                                       in unsigned long long sentTimestamp,
                                       in boolean            read,
                                       in DOMString          subject,
                                       in DOMString          smil,
                                       in jsval              attachments,
                                       in unsigned long long expiryDate,
                                       in boolean            readReportRequested);

  [implicit_jscontext]
  nsIDOMMozMobileMessageThread createThread(in unsigned long long id,
                                            in jsval              participants,
                                            in unsigned long long timestamp,
                                            in DOMString          lastMessageSubject,
                                            in DOMString          body,
                                            in unsigned long long unreadCount,
                                            in DOMString          aLastMessageType);

  nsIDeletedMessageInfo createDeletedMessageInfo(
    [array, size_is(msgCount)] in long messageIds,
    in uint32_t msgCount,
    [array, size_is(threadCount)] in unsigned long long threadIds,
    in uint32_t threadCount);
};

%{C++
template<typename T> struct already_AddRefed;

already_AddRefed<nsIMobileMessageService>
NS_CreateMobileMessageService();
%}