This file is indexed.

/usr/include/thunderbird/nsIMapiRegistry.h is in thunderbird-dev 1:52.8.0-1~deb8u1.

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
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMapiRegistry.idl
 */

#ifndef __gen_nsIMapiRegistry_h__
#define __gen_nsIMapiRegistry_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class mozIDOMWindowProxy; /* forward declaration */


/* starting interface:    nsIMapiRegistry */
#define NS_IMAPIREGISTRY_IID_STR "47d707c3-4369-46a6-a053-5118e12579d6"

#define NS_IMAPIREGISTRY_IID \
  {0x47d707c3, 0x4369, 0x46a6, \
    { 0xa0, 0x53, 0x51, 0x18, 0xe1, 0x25, 0x79, 0xd6 }}

class NS_NO_VTABLE nsIMapiRegistry : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAPIREGISTRY_IID)

  /* attribute boolean isDefaultMailClient; */
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) = 0;
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) = 0;

  /* attribute boolean isDefaultNewsClient; */
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) = 0;
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) = 0;

  /* attribute boolean isDefaultFeedClient; */
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) = 0;
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) = 0;

  /* readonly attribute boolean showDialog; */
  NS_IMETHOD GetShowDialog(bool *aShowDialog) = 0;

  /* void showMailIntegrationDialog (in mozIDOMWindowProxy parentWindow); */
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) = 0;

  /* void registerMailAndNewsClient (); */
  NS_IMETHOD RegisterMailAndNewsClient(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMapiRegistry, NS_IMAPIREGISTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAPIREGISTRY \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override; \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override; \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override; \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override; \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override; \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override; \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override; \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override; \
  NS_IMETHOD RegisterMailAndNewsClient(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMAPIREGISTRY \
  NS_METHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient); \
  NS_METHOD SetIsDefaultMailClient(bool aIsDefaultMailClient); \
  NS_METHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient); \
  NS_METHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient); \
  NS_METHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient); \
  NS_METHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient); \
  NS_METHOD GetShowDialog(bool *aShowDialog); \
  NS_METHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow); \
  NS_METHOD RegisterMailAndNewsClient(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAPIREGISTRY(_to) \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override { return _to GetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override { return _to SetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override { return _to GetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override { return _to SetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override { return _to GetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override { return _to SetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override { return _to GetShowDialog(aShowDialog); } \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override { return _to ShowMailIntegrationDialog(parentWindow); } \
  NS_IMETHOD RegisterMailAndNewsClient(void) override { return _to RegisterMailAndNewsClient(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAPIREGISTRY(_to) \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowDialog(aShowDialog); } \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowMailIntegrationDialog(parentWindow); } \
  NS_IMETHOD RegisterMailAndNewsClient(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterMailAndNewsClient(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsMapiRegistry : public nsIMapiRegistry
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAPIREGISTRY

  nsMapiRegistry();

private:
  ~nsMapiRegistry();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMapiRegistry, nsIMapiRegistry)

nsMapiRegistry::nsMapiRegistry()
{
  /* member initializers and constructor code */
}

nsMapiRegistry::~nsMapiRegistry()
{
  /* destructor code */
}

/* attribute boolean isDefaultMailClient; */
NS_IMETHODIMP nsMapiRegistry::GetIsDefaultMailClient(bool *aIsDefaultMailClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMapiRegistry::SetIsDefaultMailClient(bool aIsDefaultMailClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isDefaultNewsClient; */
NS_IMETHODIMP nsMapiRegistry::GetIsDefaultNewsClient(bool *aIsDefaultNewsClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMapiRegistry::SetIsDefaultNewsClient(bool aIsDefaultNewsClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isDefaultFeedClient; */
NS_IMETHODIMP nsMapiRegistry::GetIsDefaultFeedClient(bool *aIsDefaultFeedClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMapiRegistry::SetIsDefaultFeedClient(bool aIsDefaultFeedClient)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean showDialog; */
NS_IMETHODIMP nsMapiRegistry::GetShowDialog(bool *aShowDialog)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void showMailIntegrationDialog (in mozIDOMWindowProxy parentWindow); */
NS_IMETHODIMP nsMapiRegistry::ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void registerMailAndNewsClient (); */
NS_IMETHODIMP nsMapiRegistry::RegisterMailAndNewsClient()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif

#define NS_IMAPIREGISTRY_CONTRACTID    "@mozilla.org/mapiregistry;1"
#define NS_IMAPIREGISTRY_CLASSNAME "Mozilla MAPI Registry"

#endif /* __gen_nsIMapiRegistry_h__ */