/usr/include/thunderbird/nsIXULRuntime.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 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 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIXULRuntime.idl
*/
#ifndef __gen_nsIXULRuntime_h__
#define __gen_nsIXULRuntime_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
namespace mozilla {
// Simple C++ getter for nsIXULRuntime::browserTabsRemoteAutostart
// This getter is a temporary function that checks for special
// conditions in which e10s support is not great yet, and should
// therefore be disabled. Bug 1065561 tracks its removal.
bool BrowserTabsRemoteAutostart();
}
/* starting interface: nsIXULRuntime */
#define NS_IXULRUNTIME_IID_STR "fb861ca6-426f-4edf-844e-bbabec9bbc1a"
#define NS_IXULRUNTIME_IID \
{0xfb861ca6, 0x426f, 0x4edf, \
{ 0x84, 0x4e, 0xbb, 0xab, 0xec, 0x9b, 0xbc, 0x1a }}
class NS_NO_VTABLE nsIXULRuntime : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULRUNTIME_IID)
/* readonly attribute boolean inSafeMode; */
NS_IMETHOD GetInSafeMode(bool *aInSafeMode) = 0;
/* attribute boolean logConsoleErrors; */
NS_IMETHOD GetLogConsoleErrors(bool *aLogConsoleErrors) = 0;
NS_IMETHOD SetLogConsoleErrors(bool aLogConsoleErrors) = 0;
/* readonly attribute AUTF8String OS; */
NS_IMETHOD GetOS(nsACString & aOS) = 0;
/* readonly attribute AUTF8String XPCOMABI; */
NS_IMETHOD GetXPCOMABI(nsACString & aXPCOMABI) = 0;
/* readonly attribute AUTF8String widgetToolkit; */
NS_IMETHOD GetWidgetToolkit(nsACString & aWidgetToolkit) = 0;
enum {
PROCESS_TYPE_DEFAULT = 0U,
PROCESS_TYPE_PLUGIN = 1U,
PROCESS_TYPE_CONTENT = 2U,
PROCESS_TYPE_IPDLUNITTEST = 3U,
PROCESS_TYPE_GMPLUGIN = 4U
};
/* readonly attribute unsigned long processType; */
NS_IMETHOD GetProcessType(uint32_t *aProcessType) = 0;
/* readonly attribute unsigned long processID; */
NS_IMETHOD GetProcessID(uint32_t *aProcessID) = 0;
/* readonly attribute boolean browserTabsRemoteAutostart; */
NS_IMETHOD GetBrowserTabsRemoteAutostart(bool *aBrowserTabsRemoteAutostart) = 0;
/* readonly attribute boolean accessibilityEnabled; */
NS_IMETHOD GetAccessibilityEnabled(bool *aAccessibilityEnabled) = 0;
/* readonly attribute boolean keyboardMayHaveIME; */
NS_IMETHOD GetKeyboardMayHaveIME(bool *aKeyboardMayHaveIME) = 0;
/* readonly attribute boolean accessibilityIsUIA; */
NS_IMETHOD GetAccessibilityIsUIA(bool *aAccessibilityIsUIA) = 0;
/* void invalidateCachesOnRestart (); */
NS_IMETHOD InvalidateCachesOnRestart(void) = 0;
/* void ensureContentProcess (); */
NS_IMETHOD EnsureContentProcess(void) = 0;
/* readonly attribute PRTime replacedLockTime; */
NS_IMETHOD GetReplacedLockTime(PRTime *aReplacedLockTime) = 0;
/* readonly attribute DOMString lastRunCrashID; */
NS_IMETHOD GetLastRunCrashID(nsAString & aLastRunCrashID) = 0;
/* readonly attribute boolean isReleaseBuild; */
NS_IMETHOD GetIsReleaseBuild(bool *aIsReleaseBuild) = 0;
/* readonly attribute boolean isOfficialBranding; */
NS_IMETHOD GetIsOfficialBranding(bool *aIsOfficialBranding) = 0;
/* readonly attribute AUTF8String defaultUpdateChannel; */
NS_IMETHOD GetDefaultUpdateChannel(nsACString & aDefaultUpdateChannel) = 0;
/* readonly attribute AUTF8String distributionID; */
NS_IMETHOD GetDistributionID(nsACString & aDistributionID) = 0;
/* readonly attribute boolean isOfficial; */
NS_IMETHOD GetIsOfficial(bool *aIsOfficial) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULRuntime, NS_IXULRUNTIME_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXULRUNTIME \
NS_IMETHOD GetInSafeMode(bool *aInSafeMode) override; \
NS_IMETHOD GetLogConsoleErrors(bool *aLogConsoleErrors) override; \
NS_IMETHOD SetLogConsoleErrors(bool aLogConsoleErrors) override; \
NS_IMETHOD GetOS(nsACString & aOS) override; \
NS_IMETHOD GetXPCOMABI(nsACString & aXPCOMABI) override; \
NS_IMETHOD GetWidgetToolkit(nsACString & aWidgetToolkit) override; \
NS_IMETHOD GetProcessType(uint32_t *aProcessType) override; \
NS_IMETHOD GetProcessID(uint32_t *aProcessID) override; \
NS_IMETHOD GetBrowserTabsRemoteAutostart(bool *aBrowserTabsRemoteAutostart) override; \
NS_IMETHOD GetAccessibilityEnabled(bool *aAccessibilityEnabled) override; \
NS_IMETHOD GetKeyboardMayHaveIME(bool *aKeyboardMayHaveIME) override; \
NS_IMETHOD GetAccessibilityIsUIA(bool *aAccessibilityIsUIA) override; \
NS_IMETHOD InvalidateCachesOnRestart(void) override; \
NS_IMETHOD EnsureContentProcess(void) override; \
NS_IMETHOD GetReplacedLockTime(PRTime *aReplacedLockTime) override; \
NS_IMETHOD GetLastRunCrashID(nsAString & aLastRunCrashID) override; \
NS_IMETHOD GetIsReleaseBuild(bool *aIsReleaseBuild) override; \
NS_IMETHOD GetIsOfficialBranding(bool *aIsOfficialBranding) override; \
NS_IMETHOD GetDefaultUpdateChannel(nsACString & aDefaultUpdateChannel) override; \
NS_IMETHOD GetDistributionID(nsACString & aDistributionID) override; \
NS_IMETHOD GetIsOfficial(bool *aIsOfficial) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXULRUNTIME(_to) \
NS_IMETHOD GetInSafeMode(bool *aInSafeMode) override { return _to GetInSafeMode(aInSafeMode); } \
NS_IMETHOD GetLogConsoleErrors(bool *aLogConsoleErrors) override { return _to GetLogConsoleErrors(aLogConsoleErrors); } \
NS_IMETHOD SetLogConsoleErrors(bool aLogConsoleErrors) override { return _to SetLogConsoleErrors(aLogConsoleErrors); } \
NS_IMETHOD GetOS(nsACString & aOS) override { return _to GetOS(aOS); } \
NS_IMETHOD GetXPCOMABI(nsACString & aXPCOMABI) override { return _to GetXPCOMABI(aXPCOMABI); } \
NS_IMETHOD GetWidgetToolkit(nsACString & aWidgetToolkit) override { return _to GetWidgetToolkit(aWidgetToolkit); } \
NS_IMETHOD GetProcessType(uint32_t *aProcessType) override { return _to GetProcessType(aProcessType); } \
NS_IMETHOD GetProcessID(uint32_t *aProcessID) override { return _to GetProcessID(aProcessID); } \
NS_IMETHOD GetBrowserTabsRemoteAutostart(bool *aBrowserTabsRemoteAutostart) override { return _to GetBrowserTabsRemoteAutostart(aBrowserTabsRemoteAutostart); } \
NS_IMETHOD GetAccessibilityEnabled(bool *aAccessibilityEnabled) override { return _to GetAccessibilityEnabled(aAccessibilityEnabled); } \
NS_IMETHOD GetKeyboardMayHaveIME(bool *aKeyboardMayHaveIME) override { return _to GetKeyboardMayHaveIME(aKeyboardMayHaveIME); } \
NS_IMETHOD GetAccessibilityIsUIA(bool *aAccessibilityIsUIA) override { return _to GetAccessibilityIsUIA(aAccessibilityIsUIA); } \
NS_IMETHOD InvalidateCachesOnRestart(void) override { return _to InvalidateCachesOnRestart(); } \
NS_IMETHOD EnsureContentProcess(void) override { return _to EnsureContentProcess(); } \
NS_IMETHOD GetReplacedLockTime(PRTime *aReplacedLockTime) override { return _to GetReplacedLockTime(aReplacedLockTime); } \
NS_IMETHOD GetLastRunCrashID(nsAString & aLastRunCrashID) override { return _to GetLastRunCrashID(aLastRunCrashID); } \
NS_IMETHOD GetIsReleaseBuild(bool *aIsReleaseBuild) override { return _to GetIsReleaseBuild(aIsReleaseBuild); } \
NS_IMETHOD GetIsOfficialBranding(bool *aIsOfficialBranding) override { return _to GetIsOfficialBranding(aIsOfficialBranding); } \
NS_IMETHOD GetDefaultUpdateChannel(nsACString & aDefaultUpdateChannel) override { return _to GetDefaultUpdateChannel(aDefaultUpdateChannel); } \
NS_IMETHOD GetDistributionID(nsACString & aDistributionID) override { return _to GetDistributionID(aDistributionID); } \
NS_IMETHOD GetIsOfficial(bool *aIsOfficial) override { return _to GetIsOfficial(aIsOfficial); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXULRUNTIME(_to) \
NS_IMETHOD GetInSafeMode(bool *aInSafeMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInSafeMode(aInSafeMode); } \
NS_IMETHOD GetLogConsoleErrors(bool *aLogConsoleErrors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogConsoleErrors(aLogConsoleErrors); } \
NS_IMETHOD SetLogConsoleErrors(bool aLogConsoleErrors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLogConsoleErrors(aLogConsoleErrors); } \
NS_IMETHOD GetOS(nsACString & aOS) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOS(aOS); } \
NS_IMETHOD GetXPCOMABI(nsACString & aXPCOMABI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetXPCOMABI(aXPCOMABI); } \
NS_IMETHOD GetWidgetToolkit(nsACString & aWidgetToolkit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidgetToolkit(aWidgetToolkit); } \
NS_IMETHOD GetProcessType(uint32_t *aProcessType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProcessType(aProcessType); } \
NS_IMETHOD GetProcessID(uint32_t *aProcessID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProcessID(aProcessID); } \
NS_IMETHOD GetBrowserTabsRemoteAutostart(bool *aBrowserTabsRemoteAutostart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBrowserTabsRemoteAutostart(aBrowserTabsRemoteAutostart); } \
NS_IMETHOD GetAccessibilityEnabled(bool *aAccessibilityEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibilityEnabled(aAccessibilityEnabled); } \
NS_IMETHOD GetKeyboardMayHaveIME(bool *aKeyboardMayHaveIME) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyboardMayHaveIME(aKeyboardMayHaveIME); } \
NS_IMETHOD GetAccessibilityIsUIA(bool *aAccessibilityIsUIA) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibilityIsUIA(aAccessibilityIsUIA); } \
NS_IMETHOD InvalidateCachesOnRestart(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateCachesOnRestart(); } \
NS_IMETHOD EnsureContentProcess(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureContentProcess(); } \
NS_IMETHOD GetReplacedLockTime(PRTime *aReplacedLockTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplacedLockTime(aReplacedLockTime); } \
NS_IMETHOD GetLastRunCrashID(nsAString & aLastRunCrashID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastRunCrashID(aLastRunCrashID); } \
NS_IMETHOD GetIsReleaseBuild(bool *aIsReleaseBuild) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsReleaseBuild(aIsReleaseBuild); } \
NS_IMETHOD GetIsOfficialBranding(bool *aIsOfficialBranding) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOfficialBranding(aIsOfficialBranding); } \
NS_IMETHOD GetDefaultUpdateChannel(nsACString & aDefaultUpdateChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultUpdateChannel(aDefaultUpdateChannel); } \
NS_IMETHOD GetDistributionID(nsACString & aDistributionID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDistributionID(aDistributionID); } \
NS_IMETHOD GetIsOfficial(bool *aIsOfficial) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOfficial(aIsOfficial); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXULRuntime : public nsIXULRuntime
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXULRUNTIME
nsXULRuntime();
private:
~nsXULRuntime();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsXULRuntime, nsIXULRuntime)
nsXULRuntime::nsXULRuntime()
{
/* member initializers and constructor code */
}
nsXULRuntime::~nsXULRuntime()
{
/* destructor code */
}
/* readonly attribute boolean inSafeMode; */
NS_IMETHODIMP nsXULRuntime::GetInSafeMode(bool *aInSafeMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean logConsoleErrors; */
NS_IMETHODIMP nsXULRuntime::GetLogConsoleErrors(bool *aLogConsoleErrors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsXULRuntime::SetLogConsoleErrors(bool aLogConsoleErrors)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String OS; */
NS_IMETHODIMP nsXULRuntime::GetOS(nsACString & aOS)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String XPCOMABI; */
NS_IMETHODIMP nsXULRuntime::GetXPCOMABI(nsACString & aXPCOMABI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String widgetToolkit; */
NS_IMETHODIMP nsXULRuntime::GetWidgetToolkit(nsACString & aWidgetToolkit)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long processType; */
NS_IMETHODIMP nsXULRuntime::GetProcessType(uint32_t *aProcessType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long processID; */
NS_IMETHODIMP nsXULRuntime::GetProcessID(uint32_t *aProcessID)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean browserTabsRemoteAutostart; */
NS_IMETHODIMP nsXULRuntime::GetBrowserTabsRemoteAutostart(bool *aBrowserTabsRemoteAutostart)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean accessibilityEnabled; */
NS_IMETHODIMP nsXULRuntime::GetAccessibilityEnabled(bool *aAccessibilityEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean keyboardMayHaveIME; */
NS_IMETHODIMP nsXULRuntime::GetKeyboardMayHaveIME(bool *aKeyboardMayHaveIME)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean accessibilityIsUIA; */
NS_IMETHODIMP nsXULRuntime::GetAccessibilityIsUIA(bool *aAccessibilityIsUIA)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void invalidateCachesOnRestart (); */
NS_IMETHODIMP nsXULRuntime::InvalidateCachesOnRestart()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void ensureContentProcess (); */
NS_IMETHODIMP nsXULRuntime::EnsureContentProcess()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime replacedLockTime; */
NS_IMETHODIMP nsXULRuntime::GetReplacedLockTime(PRTime *aReplacedLockTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString lastRunCrashID; */
NS_IMETHODIMP nsXULRuntime::GetLastRunCrashID(nsAString & aLastRunCrashID)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isReleaseBuild; */
NS_IMETHODIMP nsXULRuntime::GetIsReleaseBuild(bool *aIsReleaseBuild)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isOfficialBranding; */
NS_IMETHODIMP nsXULRuntime::GetIsOfficialBranding(bool *aIsOfficialBranding)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String defaultUpdateChannel; */
NS_IMETHODIMP nsXULRuntime::GetDefaultUpdateChannel(nsACString & aDefaultUpdateChannel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String distributionID; */
NS_IMETHODIMP nsXULRuntime::GetDistributionID(nsACString & aDistributionID)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isOfficial; */
NS_IMETHODIMP nsXULRuntime::GetIsOfficial(bool *aIsOfficial)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIXULRuntime_h__ */
|