/usr/include/thunderbird/nsITelemetryPing.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 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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/toolkit/components/telemetry/nsITelemetryPing.idl
*/
#ifndef __gen_nsITelemetryPing_h__
#define __gen_nsITelemetryPing_h__
#ifndef __gen_nsIObserver_h__
#include "nsIObserver.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 nsIFile; /* forward declaration */
/* starting interface: nsITelemetryPing */
#define NS_ITELEMETRYPING_IID_STR "32fbb784-a20c-49aa-9db9-9a0da1c2f7d8"
#define NS_ITELEMETRYPING_IID \
{0x32fbb784, 0xa20c, 0x49aa, \
{ 0x9d, 0xb9, 0x9a, 0x0d, 0xa1, 0xc2, 0xf7, 0xd8 }}
class NS_NO_VTABLE nsITelemetryPing : public nsIObserver {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITELEMETRYPING_IID)
/* jsval getPayload (); */
NS_IMETHOD GetPayload(JS::Value *_retval) = 0;
/* void saveHistograms (in nsIFile aFile, in boolean aSync); */
NS_IMETHOD SaveHistograms(nsIFile *aFile, bool aSync) = 0;
/* void gatherStartup (); */
NS_IMETHOD GatherStartup(void) = 0;
/* void enableLoadSaveNotifications (); */
NS_IMETHOD EnableLoadSaveNotifications(void) = 0;
/* void cacheProfileDirectory (); */
NS_IMETHOD CacheProfileDirectory(void) = 0;
/* void setAddOns (in AString aAddOns); */
NS_IMETHOD SetAddOns(const nsAString & aAddOns) = 0;
/* void testPing (in AString aServer); */
NS_IMETHOD TestPing(const nsAString & aServer) = 0;
/* void testLoadHistograms (in nsIFile aFile, in boolean aSync); */
NS_IMETHOD TestLoadHistograms(nsIFile *aFile, bool aSync) = 0;
/* AString submissionPath (); */
NS_IMETHOD SubmissionPath(nsAString & _retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITelemetryPing, NS_ITELEMETRYPING_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITELEMETRYPING \
NS_IMETHOD GetPayload(JS::Value *_retval); \
NS_IMETHOD SaveHistograms(nsIFile *aFile, bool aSync); \
NS_IMETHOD GatherStartup(void); \
NS_IMETHOD EnableLoadSaveNotifications(void); \
NS_IMETHOD CacheProfileDirectory(void); \
NS_IMETHOD SetAddOns(const nsAString & aAddOns); \
NS_IMETHOD TestPing(const nsAString & aServer); \
NS_IMETHOD TestLoadHistograms(nsIFile *aFile, bool aSync); \
NS_IMETHOD SubmissionPath(nsAString & _retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITELEMETRYPING(_to) \
NS_IMETHOD GetPayload(JS::Value *_retval) { return _to GetPayload(_retval); } \
NS_IMETHOD SaveHistograms(nsIFile *aFile, bool aSync) { return _to SaveHistograms(aFile, aSync); } \
NS_IMETHOD GatherStartup(void) { return _to GatherStartup(); } \
NS_IMETHOD EnableLoadSaveNotifications(void) { return _to EnableLoadSaveNotifications(); } \
NS_IMETHOD CacheProfileDirectory(void) { return _to CacheProfileDirectory(); } \
NS_IMETHOD SetAddOns(const nsAString & aAddOns) { return _to SetAddOns(aAddOns); } \
NS_IMETHOD TestPing(const nsAString & aServer) { return _to TestPing(aServer); } \
NS_IMETHOD TestLoadHistograms(nsIFile *aFile, bool aSync) { return _to TestLoadHistograms(aFile, aSync); } \
NS_IMETHOD SubmissionPath(nsAString & _retval) { return _to SubmissionPath(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITELEMETRYPING(_to) \
NS_IMETHOD GetPayload(JS::Value *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPayload(_retval); } \
NS_IMETHOD SaveHistograms(nsIFile *aFile, bool aSync) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveHistograms(aFile, aSync); } \
NS_IMETHOD GatherStartup(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GatherStartup(); } \
NS_IMETHOD EnableLoadSaveNotifications(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnableLoadSaveNotifications(); } \
NS_IMETHOD CacheProfileDirectory(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CacheProfileDirectory(); } \
NS_IMETHOD SetAddOns(const nsAString & aAddOns) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAddOns(aAddOns); } \
NS_IMETHOD TestPing(const nsAString & aServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestPing(aServer); } \
NS_IMETHOD TestLoadHistograms(nsIFile *aFile, bool aSync) { return !_to ? NS_ERROR_NULL_POINTER : _to->TestLoadHistograms(aFile, aSync); } \
NS_IMETHOD SubmissionPath(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SubmissionPath(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsTelemetryPing : public nsITelemetryPing
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITELEMETRYPING
nsTelemetryPing();
private:
~nsTelemetryPing();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsTelemetryPing, nsITelemetryPing)
nsTelemetryPing::nsTelemetryPing()
{
/* member initializers and constructor code */
}
nsTelemetryPing::~nsTelemetryPing()
{
/* destructor code */
}
/* jsval getPayload (); */
NS_IMETHODIMP nsTelemetryPing::GetPayload(JS::Value *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void saveHistograms (in nsIFile aFile, in boolean aSync); */
NS_IMETHODIMP nsTelemetryPing::SaveHistograms(nsIFile *aFile, bool aSync)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void gatherStartup (); */
NS_IMETHODIMP nsTelemetryPing::GatherStartup()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void enableLoadSaveNotifications (); */
NS_IMETHODIMP nsTelemetryPing::EnableLoadSaveNotifications()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cacheProfileDirectory (); */
NS_IMETHODIMP nsTelemetryPing::CacheProfileDirectory()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAddOns (in AString aAddOns); */
NS_IMETHODIMP nsTelemetryPing::SetAddOns(const nsAString & aAddOns)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void testPing (in AString aServer); */
NS_IMETHODIMP nsTelemetryPing::TestPing(const nsAString & aServer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void testLoadHistograms (in nsIFile aFile, in boolean aSync); */
NS_IMETHODIMP nsTelemetryPing::TestLoadHistograms(nsIFile *aFile, bool aSync)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString submissionPath (); */
NS_IMETHODIMP nsTelemetryPing::SubmissionPath(nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsITelemetryPing_h__ */
|