/usr/include/thunderbird-11.0.1/nsICrashReporter.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/xpcom/system/nsICrashReporter.idl
*/
#ifndef __gen_nsICrashReporter_h__
#define __gen_nsICrashReporter_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 nsILocalFile; /* forward declaration */
class nsIURL; /* forward declaration */
/* starting interface: nsICrashReporter */
#define NS_ICRASHREPORTER_IID_STR "56761088-57ad-4f5c-bd61-f678c2807fe0"
#define NS_ICRASHREPORTER_IID \
{0x56761088, 0x57ad, 0x4f5c, \
{ 0xbd, 0x61, 0xf6, 0x78, 0xc2, 0x80, 0x7f, 0xe0 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsICrashReporter : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICRASHREPORTER_IID)
/* attribute boolean enabled; */
NS_SCRIPTABLE NS_IMETHOD GetEnabled(bool *aEnabled) = 0;
NS_SCRIPTABLE NS_IMETHOD SetEnabled(bool aEnabled) = 0;
/* attribute nsIURL serverURL; */
NS_SCRIPTABLE NS_IMETHOD GetServerURL(nsIURL * *aServerURL) = 0;
NS_SCRIPTABLE NS_IMETHOD SetServerURL(nsIURL *aServerURL) = 0;
/* attribute nsILocalFile minidumpPath; */
NS_SCRIPTABLE NS_IMETHOD GetMinidumpPath(nsILocalFile * *aMinidumpPath) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMinidumpPath(nsILocalFile *aMinidumpPath) = 0;
/* void annotateCrashReport (in ACString key, in ACString data); */
NS_SCRIPTABLE NS_IMETHOD AnnotateCrashReport(const nsACString & key, const nsACString & data) = 0;
/* void appendAppNotesToCrashReport (in ACString data); */
NS_SCRIPTABLE NS_IMETHOD AppendAppNotesToCrashReport(const nsACString & data) = 0;
/* void registerAppMemory (in unsigned long long ptr, in unsigned long long size); */
NS_SCRIPTABLE NS_IMETHOD RegisterAppMemory(PRUint64 ptr, PRUint64 size) = 0;
/* [noscript] void writeMinidumpForException (in voidPtr aExceptionInfo); */
NS_IMETHOD WriteMinidumpForException(void *aExceptionInfo) = 0;
/* [noscript] void appendObjCExceptionInfoToAppNotes (in voidPtr aException); */
NS_IMETHOD AppendObjCExceptionInfoToAppNotes(void *aException) = 0;
/* attribute boolean submitReports; */
NS_SCRIPTABLE NS_IMETHOD GetSubmitReports(bool *aSubmitReports) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSubmitReports(bool aSubmitReports) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsICrashReporter, NS_ICRASHREPORTER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICRASHREPORTER \
NS_SCRIPTABLE NS_IMETHOD GetEnabled(bool *aEnabled); \
NS_SCRIPTABLE NS_IMETHOD SetEnabled(bool aEnabled); \
NS_SCRIPTABLE NS_IMETHOD GetServerURL(nsIURL * *aServerURL); \
NS_SCRIPTABLE NS_IMETHOD SetServerURL(nsIURL *aServerURL); \
NS_SCRIPTABLE NS_IMETHOD GetMinidumpPath(nsILocalFile * *aMinidumpPath); \
NS_SCRIPTABLE NS_IMETHOD SetMinidumpPath(nsILocalFile *aMinidumpPath); \
NS_SCRIPTABLE NS_IMETHOD AnnotateCrashReport(const nsACString & key, const nsACString & data); \
NS_SCRIPTABLE NS_IMETHOD AppendAppNotesToCrashReport(const nsACString & data); \
NS_SCRIPTABLE NS_IMETHOD RegisterAppMemory(PRUint64 ptr, PRUint64 size); \
NS_IMETHOD WriteMinidumpForException(void *aExceptionInfo); \
NS_IMETHOD AppendObjCExceptionInfoToAppNotes(void *aException); \
NS_SCRIPTABLE NS_IMETHOD GetSubmitReports(bool *aSubmitReports); \
NS_SCRIPTABLE NS_IMETHOD SetSubmitReports(bool aSubmitReports);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICRASHREPORTER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetEnabled(bool *aEnabled) { return _to GetEnabled(aEnabled); } \
NS_SCRIPTABLE NS_IMETHOD SetEnabled(bool aEnabled) { return _to SetEnabled(aEnabled); } \
NS_SCRIPTABLE NS_IMETHOD GetServerURL(nsIURL * *aServerURL) { return _to GetServerURL(aServerURL); } \
NS_SCRIPTABLE NS_IMETHOD SetServerURL(nsIURL *aServerURL) { return _to SetServerURL(aServerURL); } \
NS_SCRIPTABLE NS_IMETHOD GetMinidumpPath(nsILocalFile * *aMinidumpPath) { return _to GetMinidumpPath(aMinidumpPath); } \
NS_SCRIPTABLE NS_IMETHOD SetMinidumpPath(nsILocalFile *aMinidumpPath) { return _to SetMinidumpPath(aMinidumpPath); } \
NS_SCRIPTABLE NS_IMETHOD AnnotateCrashReport(const nsACString & key, const nsACString & data) { return _to AnnotateCrashReport(key, data); } \
NS_SCRIPTABLE NS_IMETHOD AppendAppNotesToCrashReport(const nsACString & data) { return _to AppendAppNotesToCrashReport(data); } \
NS_SCRIPTABLE NS_IMETHOD RegisterAppMemory(PRUint64 ptr, PRUint64 size) { return _to RegisterAppMemory(ptr, size); } \
NS_IMETHOD WriteMinidumpForException(void *aExceptionInfo) { return _to WriteMinidumpForException(aExceptionInfo); } \
NS_IMETHOD AppendObjCExceptionInfoToAppNotes(void *aException) { return _to AppendObjCExceptionInfoToAppNotes(aException); } \
NS_SCRIPTABLE NS_IMETHOD GetSubmitReports(bool *aSubmitReports) { return _to GetSubmitReports(aSubmitReports); } \
NS_SCRIPTABLE NS_IMETHOD SetSubmitReports(bool aSubmitReports) { return _to SetSubmitReports(aSubmitReports); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICRASHREPORTER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetEnabled(bool *aEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnabled(aEnabled); } \
NS_SCRIPTABLE NS_IMETHOD SetEnabled(bool aEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnabled(aEnabled); } \
NS_SCRIPTABLE NS_IMETHOD GetServerURL(nsIURL * *aServerURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerURL(aServerURL); } \
NS_SCRIPTABLE NS_IMETHOD SetServerURL(nsIURL *aServerURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetServerURL(aServerURL); } \
NS_SCRIPTABLE NS_IMETHOD GetMinidumpPath(nsILocalFile * *aMinidumpPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinidumpPath(aMinidumpPath); } \
NS_SCRIPTABLE NS_IMETHOD SetMinidumpPath(nsILocalFile *aMinidumpPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMinidumpPath(aMinidumpPath); } \
NS_SCRIPTABLE NS_IMETHOD AnnotateCrashReport(const nsACString & key, const nsACString & data) { return !_to ? NS_ERROR_NULL_POINTER : _to->AnnotateCrashReport(key, data); } \
NS_SCRIPTABLE NS_IMETHOD AppendAppNotesToCrashReport(const nsACString & data) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendAppNotesToCrashReport(data); } \
NS_SCRIPTABLE NS_IMETHOD RegisterAppMemory(PRUint64 ptr, PRUint64 size) { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterAppMemory(ptr, size); } \
NS_IMETHOD WriteMinidumpForException(void *aExceptionInfo) { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteMinidumpForException(aExceptionInfo); } \
NS_IMETHOD AppendObjCExceptionInfoToAppNotes(void *aException) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendObjCExceptionInfoToAppNotes(aException); } \
NS_SCRIPTABLE NS_IMETHOD GetSubmitReports(bool *aSubmitReports) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubmitReports(aSubmitReports); } \
NS_SCRIPTABLE NS_IMETHOD SetSubmitReports(bool aSubmitReports) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSubmitReports(aSubmitReports); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsCrashReporter : public nsICrashReporter
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSICRASHREPORTER
nsCrashReporter();
private:
~nsCrashReporter();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsCrashReporter, nsICrashReporter)
nsCrashReporter::nsCrashReporter()
{
/* member initializers and constructor code */
}
nsCrashReporter::~nsCrashReporter()
{
/* destructor code */
}
/* attribute boolean enabled; */
NS_IMETHODIMP nsCrashReporter::GetEnabled(bool *aEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsCrashReporter::SetEnabled(bool aEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIURL serverURL; */
NS_IMETHODIMP nsCrashReporter::GetServerURL(nsIURL * *aServerURL)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsCrashReporter::SetServerURL(nsIURL *aServerURL)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILocalFile minidumpPath; */
NS_IMETHODIMP nsCrashReporter::GetMinidumpPath(nsILocalFile * *aMinidumpPath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsCrashReporter::SetMinidumpPath(nsILocalFile *aMinidumpPath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void annotateCrashReport (in ACString key, in ACString data); */
NS_IMETHODIMP nsCrashReporter::AnnotateCrashReport(const nsACString & key, const nsACString & data)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void appendAppNotesToCrashReport (in ACString data); */
NS_IMETHODIMP nsCrashReporter::AppendAppNotesToCrashReport(const nsACString & data)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void registerAppMemory (in unsigned long long ptr, in unsigned long long size); */
NS_IMETHODIMP nsCrashReporter::RegisterAppMemory(PRUint64 ptr, PRUint64 size)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void writeMinidumpForException (in voidPtr aExceptionInfo); */
NS_IMETHODIMP nsCrashReporter::WriteMinidumpForException(void *aExceptionInfo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void appendObjCExceptionInfoToAppNotes (in voidPtr aException); */
NS_IMETHODIMP nsCrashReporter::AppendObjCExceptionInfoToAppNotes(void *aException)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean submitReports; */
NS_IMETHODIMP nsCrashReporter::GetSubmitReports(bool *aSubmitReports)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsCrashReporter::SetSubmitReports(bool aSubmitReports)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsICrashReporter_h__ */
|