This file is indexed.

/usr/include/thunderbird/nsIDOMAlarmsManager.h is in thunderbird-dev 1:24.4.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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/dom/alarm/nsIDOMAlarmsManager.idl
 */

#ifndef __gen_nsIDOMAlarmsManager_h__
#define __gen_nsIDOMAlarmsManager_h__


#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

#include "jspubtd.h"

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


/* starting interface:    nsIDOMMozAlarmsManager */
#define NS_IDOMMOZALARMSMANAGER_IID_STR "fea1e884-9b05-11e1-9b64-87a7016c3860"

#define NS_IDOMMOZALARMSMANAGER_IID \
  {0xfea1e884, 0x9b05, 0x11e1, \
    { 0x9b, 0x64, 0x87, 0xa7, 0x01, 0x6c, 0x38, 0x60 }}

class NS_NO_VTABLE nsIDOMMozAlarmsManager : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZALARMSMANAGER_IID)

  /* nsIDOMDOMRequest getAll (); */
  NS_IMETHOD GetAll(nsIDOMDOMRequest * *_retval) = 0;

  /* nsIDOMDOMRequest add (in jsval date, in DOMString respectTimezone, [optional] in jsval data); */
  NS_IMETHOD Add(const JS::Value & date, const nsAString & respectTimezone, const JS::Value & data, nsIDOMDOMRequest * *_retval) = 0;

  /* void remove (in unsigned long id); */
  NS_IMETHOD Remove(uint32_t id) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozAlarmsManager, NS_IDOMMOZALARMSMANAGER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMOZALARMSMANAGER \
  NS_IMETHOD GetAll(nsIDOMDOMRequest * *_retval); \
  NS_IMETHOD Add(const JS::Value & date, const nsAString & respectTimezone, const JS::Value & data, nsIDOMDOMRequest * *_retval); \
  NS_IMETHOD Remove(uint32_t id); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMOZALARMSMANAGER(_to) \
  NS_IMETHOD GetAll(nsIDOMDOMRequest * *_retval) { return _to GetAll(_retval); } \
  NS_IMETHOD Add(const JS::Value & date, const nsAString & respectTimezone, const JS::Value & data, nsIDOMDOMRequest * *_retval) { return _to Add(date, respectTimezone, data, _retval); } \
  NS_IMETHOD Remove(uint32_t id) { return _to Remove(id); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMOZALARMSMANAGER(_to) \
  NS_IMETHOD GetAll(nsIDOMDOMRequest * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAll(_retval); } \
  NS_IMETHOD Add(const JS::Value & date, const nsAString & respectTimezone, const JS::Value & data, nsIDOMDOMRequest * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(date, respectTimezone, data, _retval); } \
  NS_IMETHOD Remove(uint32_t id) { return !_to ? NS_ERROR_NULL_POINTER : _to->Remove(id); } 

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

/* Header file */
class nsDOMMozAlarmsManager : public nsIDOMMozAlarmsManager
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMOZALARMSMANAGER

  nsDOMMozAlarmsManager();

private:
  ~nsDOMMozAlarmsManager();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMMozAlarmsManager, nsIDOMMozAlarmsManager)

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

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

/* nsIDOMDOMRequest getAll (); */
NS_IMETHODIMP nsDOMMozAlarmsManager::GetAll(nsIDOMDOMRequest * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDOMRequest add (in jsval date, in DOMString respectTimezone, [optional] in jsval data); */
NS_IMETHODIMP nsDOMMozAlarmsManager::Add(const JS::Value & date, const nsAString & respectTimezone, const JS::Value & data, nsIDOMDOMRequest * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void remove (in unsigned long id); */
NS_IMETHODIMP nsDOMMozAlarmsManager::Remove(uint32_t id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMAlarmsManager_h__ */