/usr/include/thunderbird/nsIAppStartup.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 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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/toolkit/components/startup/public/nsIAppStartup.idl
*/
#ifndef __gen_nsIAppStartup_h__
#define __gen_nsIAppStartup_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.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 nsICmdLineService; /* forward declaration */
/* starting interface: nsIAppStartup */
#define NS_IAPPSTARTUP_IID_STR "2b51b67f-6f05-4145-b37e-7369bbc92b19"
#define NS_IAPPSTARTUP_IID \
{0x2b51b67f, 0x6f05, 0x4145, \
{ 0xb3, 0x7e, 0x73, 0x69, 0xbb, 0xc9, 0x2b, 0x19 }}
class NS_NO_VTABLE nsIAppStartup : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAPPSTARTUP_IID)
/* void createHiddenWindow (); */
NS_IMETHOD CreateHiddenWindow(void) = 0;
/* void destroyHiddenWindow (); */
NS_IMETHOD DestroyHiddenWindow(void) = 0;
/* void run (); */
NS_IMETHOD Run(void) = 0;
/* void enterLastWindowClosingSurvivalArea (); */
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) = 0;
/* void exitLastWindowClosingSurvivalArea (); */
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) = 0;
/* readonly attribute boolean automaticSafeModeNecessary; */
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) = 0;
/* void restartInSafeMode (in uint32_t aQuitMode); */
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) = 0;
/* bool trackStartupCrashBegin (); */
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) = 0;
/* void trackStartupCrashEnd (); */
NS_IMETHOD TrackStartupCrashEnd(void) = 0;
enum {
eConsiderQuit = 1U,
eAttemptQuit = 2U,
eForceQuit = 3U,
eRestart = 16U,
eRestarti386 = 32U,
eRestartx86_64 = 64U
};
/* void quit (in uint32_t aMode); */
NS_IMETHOD Quit(uint32_t aMode) = 0;
/* readonly attribute boolean shuttingDown; */
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) = 0;
/* [implicit_jscontext] jsval getStartupInfo (); */
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::Value *_retval) = 0;
/* attribute boolean interrupted; */
NS_IMETHOD GetInterrupted(bool *aInterrupted) = 0;
NS_IMETHOD SetInterrupted(bool aInterrupted) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAppStartup, NS_IAPPSTARTUP_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIAPPSTARTUP \
NS_IMETHOD CreateHiddenWindow(void); \
NS_IMETHOD DestroyHiddenWindow(void); \
NS_IMETHOD Run(void); \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void); \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void); \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary); \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode); \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval); \
NS_IMETHOD TrackStartupCrashEnd(void); \
NS_IMETHOD Quit(uint32_t aMode); \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown); \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::Value *_retval); \
NS_IMETHOD GetInterrupted(bool *aInterrupted); \
NS_IMETHOD SetInterrupted(bool aInterrupted);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIAPPSTARTUP(_to) \
NS_IMETHOD CreateHiddenWindow(void) { return _to CreateHiddenWindow(); } \
NS_IMETHOD DestroyHiddenWindow(void) { return _to DestroyHiddenWindow(); } \
NS_IMETHOD Run(void) { return _to Run(); } \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) { return _to EnterLastWindowClosingSurvivalArea(); } \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) { return _to ExitLastWindowClosingSurvivalArea(); } \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) { return _to GetAutomaticSafeModeNecessary(aAutomaticSafeModeNecessary); } \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) { return _to RestartInSafeMode(aQuitMode); } \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) { return _to TrackStartupCrashBegin(_retval); } \
NS_IMETHOD TrackStartupCrashEnd(void) { return _to TrackStartupCrashEnd(); } \
NS_IMETHOD Quit(uint32_t aMode) { return _to Quit(aMode); } \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) { return _to GetShuttingDown(aShuttingDown); } \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::Value *_retval) { return _to GetStartupInfo(cx, _retval); } \
NS_IMETHOD GetInterrupted(bool *aInterrupted) { return _to GetInterrupted(aInterrupted); } \
NS_IMETHOD SetInterrupted(bool aInterrupted) { return _to SetInterrupted(aInterrupted); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIAPPSTARTUP(_to) \
NS_IMETHOD CreateHiddenWindow(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateHiddenWindow(); } \
NS_IMETHOD DestroyHiddenWindow(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DestroyHiddenWindow(); } \
NS_IMETHOD Run(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Run(); } \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnterLastWindowClosingSurvivalArea(); } \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExitLastWindowClosingSurvivalArea(); } \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutomaticSafeModeNecessary(aAutomaticSafeModeNecessary); } \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->RestartInSafeMode(aQuitMode); } \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->TrackStartupCrashBegin(_retval); } \
NS_IMETHOD TrackStartupCrashEnd(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->TrackStartupCrashEnd(); } \
NS_IMETHOD Quit(uint32_t aMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->Quit(aMode); } \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShuttingDown(aShuttingDown); } \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::Value *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartupInfo(cx, _retval); } \
NS_IMETHOD GetInterrupted(bool *aInterrupted) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterrupted(aInterrupted); } \
NS_IMETHOD SetInterrupted(bool aInterrupted) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInterrupted(aInterrupted); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsAppStartup : public nsIAppStartup
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIAPPSTARTUP
nsAppStartup();
private:
~nsAppStartup();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsAppStartup, nsIAppStartup)
nsAppStartup::nsAppStartup()
{
/* member initializers and constructor code */
}
nsAppStartup::~nsAppStartup()
{
/* destructor code */
}
/* void createHiddenWindow (); */
NS_IMETHODIMP nsAppStartup::CreateHiddenWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void destroyHiddenWindow (); */
NS_IMETHODIMP nsAppStartup::DestroyHiddenWindow()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void run (); */
NS_IMETHODIMP nsAppStartup::Run()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void enterLastWindowClosingSurvivalArea (); */
NS_IMETHODIMP nsAppStartup::EnterLastWindowClosingSurvivalArea()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void exitLastWindowClosingSurvivalArea (); */
NS_IMETHODIMP nsAppStartup::ExitLastWindowClosingSurvivalArea()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean automaticSafeModeNecessary; */
NS_IMETHODIMP nsAppStartup::GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void restartInSafeMode (in uint32_t aQuitMode); */
NS_IMETHODIMP nsAppStartup::RestartInSafeMode(uint32_t aQuitMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* bool trackStartupCrashBegin (); */
NS_IMETHODIMP nsAppStartup::TrackStartupCrashBegin(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void trackStartupCrashEnd (); */
NS_IMETHODIMP nsAppStartup::TrackStartupCrashEnd()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void quit (in uint32_t aMode); */
NS_IMETHODIMP nsAppStartup::Quit(uint32_t aMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean shuttingDown; */
NS_IMETHODIMP nsAppStartup::GetShuttingDown(bool *aShuttingDown)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] jsval getStartupInfo (); */
NS_IMETHODIMP nsAppStartup::GetStartupInfo(JSContext* cx, JS::Value *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean interrupted; */
NS_IMETHODIMP nsAppStartup::GetInterrupted(bool *aInterrupted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsAppStartup::SetInterrupted(bool aInterrupted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIAppStartup_h__ */
|