This file is indexed.

/usr/include/thunderbird/nsIFormAutoComplete.h 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
 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
193
194
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIFormAutoComplete.idl
 */

#ifndef __gen_nsIFormAutoComplete_h__
#define __gen_nsIFormAutoComplete_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 nsIAutoCompleteResult; /* forward declaration */

class nsIFormAutoCompleteObserver; /* forward declaration */

class nsIDOMHTMLInputElement; /* forward declaration */


/* starting interface:    nsIFormAutoComplete */
#define NS_IFORMAUTOCOMPLETE_IID_STR "c079f18f-40ab-409d-800e-878889b83b58"

#define NS_IFORMAUTOCOMPLETE_IID \
  {0xc079f18f, 0x40ab, 0x409d, \
    { 0x80, 0x0e, 0x87, 0x88, 0x89, 0xb8, 0x3b, 0x58 }}

class NS_NO_VTABLE nsIFormAutoComplete : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFORMAUTOCOMPLETE_IID)

  /* nsIAutoCompleteResult autoCompleteSearch (in AString aInputName, in AString aSearchString, in nsIDOMHTMLInputElement aField, in nsIAutoCompleteResult aPreviousResult); */
  NS_IMETHOD AutoCompleteSearch(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIAutoCompleteResult * *_retval) = 0;

  /* void autoCompleteSearchAsync (in AString aInputName, in AString aSearchString, in nsIDOMHTMLInputElement aField, in nsIAutoCompleteResult aPreviousResult, in nsIFormAutoCompleteObserver aListener); */
  NS_IMETHOD AutoCompleteSearchAsync(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIFormAutoCompleteObserver *aListener) = 0;

  /* void stopAutoCompleteSearch (); */
  NS_IMETHOD StopAutoCompleteSearch(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFormAutoComplete, NS_IFORMAUTOCOMPLETE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFORMAUTOCOMPLETE \
  NS_IMETHOD AutoCompleteSearch(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIAutoCompleteResult * *_retval) override; \
  NS_IMETHOD AutoCompleteSearchAsync(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIFormAutoCompleteObserver *aListener) override; \
  NS_IMETHOD StopAutoCompleteSearch(void) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFORMAUTOCOMPLETE(_to) \
  NS_IMETHOD AutoCompleteSearch(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIAutoCompleteResult * *_retval) override { return _to AutoCompleteSearch(aInputName, aSearchString, aField, aPreviousResult, _retval); } \
  NS_IMETHOD AutoCompleteSearchAsync(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIFormAutoCompleteObserver *aListener) override { return _to AutoCompleteSearchAsync(aInputName, aSearchString, aField, aPreviousResult, aListener); } \
  NS_IMETHOD StopAutoCompleteSearch(void) override { return _to StopAutoCompleteSearch(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFORMAUTOCOMPLETE(_to) \
  NS_IMETHOD AutoCompleteSearch(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIAutoCompleteResult * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AutoCompleteSearch(aInputName, aSearchString, aField, aPreviousResult, _retval); } \
  NS_IMETHOD AutoCompleteSearchAsync(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIFormAutoCompleteObserver *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AutoCompleteSearchAsync(aInputName, aSearchString, aField, aPreviousResult, aListener); } \
  NS_IMETHOD StopAutoCompleteSearch(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopAutoCompleteSearch(); } 

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

/* Header file */
class nsFormAutoComplete : public nsIFormAutoComplete
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFORMAUTOCOMPLETE

  nsFormAutoComplete();

private:
  ~nsFormAutoComplete();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsFormAutoComplete, nsIFormAutoComplete)

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

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

/* nsIAutoCompleteResult autoCompleteSearch (in AString aInputName, in AString aSearchString, in nsIDOMHTMLInputElement aField, in nsIAutoCompleteResult aPreviousResult); */
NS_IMETHODIMP nsFormAutoComplete::AutoCompleteSearch(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIAutoCompleteResult * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void autoCompleteSearchAsync (in AString aInputName, in AString aSearchString, in nsIDOMHTMLInputElement aField, in nsIAutoCompleteResult aPreviousResult, in nsIFormAutoCompleteObserver aListener); */
NS_IMETHODIMP nsFormAutoComplete::AutoCompleteSearchAsync(const nsAString & aInputName, const nsAString & aSearchString, nsIDOMHTMLInputElement *aField, nsIAutoCompleteResult *aPreviousResult, nsIFormAutoCompleteObserver *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void stopAutoCompleteSearch (); */
NS_IMETHODIMP nsFormAutoComplete::StopAutoCompleteSearch()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIFormAutoCompleteObserver */
#define NS_IFORMAUTOCOMPLETEOBSERVER_IID_STR "604419ab-55a0-4831-9eca-1b9e67cc4751"

#define NS_IFORMAUTOCOMPLETEOBSERVER_IID \
  {0x604419ab, 0x55a0, 0x4831, \
    { 0x9e, 0xca, 0x1b, 0x9e, 0x67, 0xcc, 0x47, 0x51 }}

class NS_NO_VTABLE nsIFormAutoCompleteObserver : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFORMAUTOCOMPLETEOBSERVER_IID)

  /* void onSearchCompletion (in nsIAutoCompleteResult result); */
  NS_IMETHOD OnSearchCompletion(nsIAutoCompleteResult *result) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFormAutoCompleteObserver, NS_IFORMAUTOCOMPLETEOBSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFORMAUTOCOMPLETEOBSERVER \
  NS_IMETHOD OnSearchCompletion(nsIAutoCompleteResult *result) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFORMAUTOCOMPLETEOBSERVER(_to) \
  NS_IMETHOD OnSearchCompletion(nsIAutoCompleteResult *result) override { return _to OnSearchCompletion(result); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFORMAUTOCOMPLETEOBSERVER(_to) \
  NS_IMETHOD OnSearchCompletion(nsIAutoCompleteResult *result) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchCompletion(result); } 

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

/* Header file */
class nsFormAutoCompleteObserver : public nsIFormAutoCompleteObserver
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFORMAUTOCOMPLETEOBSERVER

  nsFormAutoCompleteObserver();

private:
  ~nsFormAutoCompleteObserver();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsFormAutoCompleteObserver, nsIFormAutoCompleteObserver)

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

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

/* void onSearchCompletion (in nsIAutoCompleteResult result); */
NS_IMETHODIMP nsFormAutoCompleteObserver::OnSearchCompletion(nsIAutoCompleteResult *result)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIFormAutoComplete_h__ */