Generated file

Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/startup/public/nsIAppStartup.idl
*/
#ifndef __gen_nsIAppStartup_h__
#define __gen_nsIAppStartup_h__
#include "nsISupports.h"
#include "nsTArray.h"
#include "js/Value.h"
#include "mozilla/AlreadyAddRefed.h"
#include "mozilla/Assertions.h"
#include "mozilla/DebugOnly.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIToolkitProfile; /* forward declaration */
/* starting interface: nsIAppStartup */
#define NS_IAPPSTARTUP_IID_STR "6621f6d5-6c04-4a0e-9e74-447db221484e"
#define NS_IAPPSTARTUP_IID \
{0x6621f6d5, 0x6c04, 0x4a0e, \
{ 0x9e, 0x74, 0x44, 0x7d, 0xb2, 0x21, 0x48, 0x4e }}
class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsIAppStartup) nsIAppStartup : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(NS_IAPPSTARTUP_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIAppStartup;
/* [noscript] void createHiddenWindow (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_createHiddenWindow)
NS_IMETHOD CreateHiddenWindow(void) = 0;
/* [noscript] void destroyHiddenWindow (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_destroyHiddenWindow)
NS_IMETHOD DestroyHiddenWindow(void) = 0;
/* void run (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_run)
NS_IMETHOD Run(void) = 0;
/* void enterLastWindowClosingSurvivalArea (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_enterLastWindowClosingSurvivalArea)
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) = 0;
/* void exitLastWindowClosingSurvivalArea (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_exitLastWindowClosingSurvivalArea)
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) = 0;
/* readonly attribute boolean automaticSafeModeNecessary; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_automaticSafeModeNecessary)
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) = 0;
/* void restartInSafeMode (in uint32_t aQuitMode); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_restartInSafeMode)
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) = 0;
/* void createInstanceWithProfile (in nsIToolkitProfile aProfile, [optional] in Array<AString> aArgs); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_createInstanceWithProfile)
NS_IMETHOD CreateInstanceWithProfile(nsIToolkitProfile *aProfile, const nsTArray<nsString >& aArgs) = 0;
/* boolean trackStartupCrashBegin (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_trackStartupCrashBegin)
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) = 0;
/* void trackStartupCrashEnd (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_trackStartupCrashEnd)
NS_IMETHOD TrackStartupCrashEnd(void) = 0;
enum {
eConsiderQuit MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_eConsiderQuit) = 1U,
eAttemptQuit MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_eAttemptQuit) = 2U,
eForceQuit MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_eForceQuit) = 3U,
eRestart MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_eRestart) = 16U,
eSilently MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_eSilently) = 256U
};
/* boolean quit (in uint32_t aMode, [optional] in int32_t aExitCode); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_quit)
NS_IMETHOD Quit(uint32_t aMode, int32_t aExitCode, bool *_retval) = 0;
enum MOZ_BINDING(binding_to, idl, class, XPIDL_nsIAppStartup_IDLShutdownPhase) IDLShutdownPhase : uint8_t {
SHUTDOWN_PHASE_NOTINSHUTDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_NOTINSHUTDOWN) = 0,
SHUTDOWN_PHASE_APPSHUTDOWNCONFIRMED MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWNCONFIRMED) = 1,
SHUTDOWN_PHASE_APPSHUTDOWNNETTEARDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWNNETTEARDOWN) = 2,
SHUTDOWN_PHASE_APPSHUTDOWNTEARDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWNTEARDOWN) = 3,
SHUTDOWN_PHASE_APPSHUTDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWN) = 4,
SHUTDOWN_PHASE_APPSHUTDOWNQM MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWNQM) = 5,
SHUTDOWN_PHASE_APPSHUTDOWNRELEMETRY MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_APPSHUTDOWNRELEMETRY) = 6,
SHUTDOWN_PHASE_XPCOMWILLSHUTDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_XPCOMWILLSHUTDOWN) = 7,
SHUTDOWN_PHASE_XPCOMSHUTDOWN MOZ_BINDING(binding_to, idl, const, XPIDL_nsIAppStartup_IDLShutdownPhase_SHUTDOWN_PHASE_XPCOMSHUTDOWN) = 8,
};
/* void advanceShutdownPhase (in nsIAppStartup_IDLShutdownPhase aPhase); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_advanceShutdownPhase)
NS_IMETHOD AdvanceShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase) = 0;
/* void setImpendingShutdown (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_setImpendingShutdown)
NS_IMETHOD SetImpendingShutdown(void) = 0;
/* boolean isInOrBeyondShutdownPhase (in nsIAppStartup_IDLShutdownPhase aPhase); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_isInOrBeyondShutdownPhase)
NS_IMETHOD IsInOrBeyondShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase, bool *_retval) = 0;
/* [infallible] readonly attribute boolean shuttingDown; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_shuttingDown)
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) = 0;
inline bool GetShuttingDown()
{
bool result;
mozilla::DebugOnly<nsresult> rv = GetShuttingDown(&result);
MOZ_ASSERT(NS_SUCCEEDED(rv));
return result;
}
/* [infallible] readonly attribute boolean attemptingQuit; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_attemptingQuit)
NS_IMETHOD GetAttemptingQuit(bool *aAttemptingQuit) = 0;
inline bool GetAttemptingQuit()
{
bool result;
mozilla::DebugOnly<nsresult> rv = GetAttemptingQuit(&result);
MOZ_ASSERT(NS_SUCCEEDED(rv));
return result;
}
/* readonly attribute boolean startingUp; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_startingUp)
NS_IMETHOD GetStartingUp(bool *aStartingUp) = 0;
/* [noscript] void doneStartingUp (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_doneStartingUp)
NS_IMETHOD DoneStartingUp(void) = 0;
/* readonly attribute boolean restarting; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_restarting)
NS_IMETHOD GetRestarting(bool *aRestarting) = 0;
/* readonly attribute boolean wasRestarted; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_wasRestarted)
NS_IMETHOD GetWasRestarted(bool *aWasRestarted) = 0;
/* readonly attribute boolean wasSilentlyStarted; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_wasSilentlyStarted)
NS_IMETHOD GetWasSilentlyStarted(bool *aWasSilentlyStarted) = 0;
/* readonly attribute int64_t secondsSinceLastOSRestart; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_secondsSinceLastOSRestart)
NS_IMETHOD GetSecondsSinceLastOSRestart(int64_t *aSecondsSinceLastOSRestart) = 0;
/* readonly attribute boolean showedPreXULSkeletonUI; */
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_showedPreXULSkeletonUI)
NS_IMETHOD GetShowedPreXULSkeletonUI(bool *aShowedPreXULSkeletonUI) = 0;
/* [implicit_jscontext] jsval getStartupInfo (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_getStartupInfo)
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::MutableHandle<JS::Value> _retval) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIAPPSTARTUP \
NS_IMETHOD CreateHiddenWindow(void) override; \
NS_IMETHOD DestroyHiddenWindow(void) override; \
NS_IMETHOD Run(void) override; \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) override; \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) override; \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) override; \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) override; \
NS_IMETHOD CreateInstanceWithProfile(nsIToolkitProfile *aProfile, const nsTArray<nsString >& aArgs) override; \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) override; \
NS_IMETHOD TrackStartupCrashEnd(void) override; \
NS_IMETHOD Quit(uint32_t aMode, int32_t aExitCode, bool *_retval) override; \
NS_IMETHOD AdvanceShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase) override; \
NS_IMETHOD SetImpendingShutdown(void) override; \
NS_IMETHOD IsInOrBeyondShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase, bool *_retval) override; \
using nsIAppStartup::GetShuttingDown; \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override; \
using nsIAppStartup::GetAttemptingQuit; \
NS_IMETHOD GetAttemptingQuit(bool *aAttemptingQuit) override; \
NS_IMETHOD GetStartingUp(bool *aStartingUp) override; \
NS_IMETHOD DoneStartingUp(void) override; \
NS_IMETHOD GetRestarting(bool *aRestarting) override; \
NS_IMETHOD GetWasRestarted(bool *aWasRestarted) override; \
NS_IMETHOD GetWasSilentlyStarted(bool *aWasSilentlyStarted) override; \
NS_IMETHOD GetSecondsSinceLastOSRestart(int64_t *aSecondsSinceLastOSRestart) override; \
NS_IMETHOD GetShowedPreXULSkeletonUI(bool *aShowedPreXULSkeletonUI) override; \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::MutableHandle<JS::Value> _retval) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIAPPSTARTUP \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_createHiddenWindow)\
nsresult CreateHiddenWindow(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_destroyHiddenWindow)\
nsresult DestroyHiddenWindow(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_run)\
nsresult Run(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_enterLastWindowClosingSurvivalArea)\
nsresult EnterLastWindowClosingSurvivalArea(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_exitLastWindowClosingSurvivalArea)\
nsresult ExitLastWindowClosingSurvivalArea(void); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_automaticSafeModeNecessary)\
nsresult GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_restartInSafeMode)\
nsresult RestartInSafeMode(uint32_t aQuitMode); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_createInstanceWithProfile)\
nsresult CreateInstanceWithProfile(nsIToolkitProfile *aProfile, const nsTArray<nsString >& aArgs); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_trackStartupCrashBegin)\
nsresult TrackStartupCrashBegin(bool *_retval); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_trackStartupCrashEnd)\
nsresult TrackStartupCrashEnd(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_quit)\
nsresult Quit(uint32_t aMode, int32_t aExitCode, bool *_retval); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_advanceShutdownPhase)\
nsresult AdvanceShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_setImpendingShutdown)\
nsresult SetImpendingShutdown(void); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_isInOrBeyondShutdownPhase)\
nsresult IsInOrBeyondShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase, bool *_retval); \
using nsIAppStartup::GetShuttingDown; \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_shuttingDown)\
nsresult GetShuttingDown(bool *aShuttingDown); \
using nsIAppStartup::GetAttemptingQuit; \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_attemptingQuit)\
nsresult GetAttemptingQuit(bool *aAttemptingQuit); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_startingUp)\
nsresult GetStartingUp(bool *aStartingUp); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_doneStartingUp)\
nsresult DoneStartingUp(void); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_restarting)\
nsresult GetRestarting(bool *aRestarting); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_wasRestarted)\
nsresult GetWasRestarted(bool *aWasRestarted); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_wasSilentlyStarted)\
nsresult GetWasSilentlyStarted(bool *aWasSilentlyStarted); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_secondsSinceLastOSRestart)\
nsresult GetSecondsSinceLastOSRestart(int64_t *aSecondsSinceLastOSRestart); \
MOZ_BINDING(binding_to, idl, getter, XPIDL_nsIAppStartup_showedPreXULSkeletonUI)\
nsresult GetShowedPreXULSkeletonUI(bool *aShowedPreXULSkeletonUI); \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAppStartup_getStartupInfo)\
nsresult GetStartupInfo(JSContext* cx, JS::MutableHandle<JS::Value> _retval);
/* 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) override { return _to CreateHiddenWindow(); } \
NS_IMETHOD DestroyHiddenWindow(void) override { return _to DestroyHiddenWindow(); } \
NS_IMETHOD Run(void) override { return _to Run(); } \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) override { return _to EnterLastWindowClosingSurvivalArea(); } \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) override { return _to ExitLastWindowClosingSurvivalArea(); } \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) override { return _to GetAutomaticSafeModeNecessary(aAutomaticSafeModeNecessary); } \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) override { return _to RestartInSafeMode(aQuitMode); } \
NS_IMETHOD CreateInstanceWithProfile(nsIToolkitProfile *aProfile, const nsTArray<nsString >& aArgs) override { return _to CreateInstanceWithProfile(aProfile, aArgs); } \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) override { return _to TrackStartupCrashBegin(_retval); } \
NS_IMETHOD TrackStartupCrashEnd(void) override { return _to TrackStartupCrashEnd(); } \
NS_IMETHOD Quit(uint32_t aMode, int32_t aExitCode, bool *_retval) override { return _to Quit(aMode, aExitCode, _retval); } \
NS_IMETHOD AdvanceShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase) override { return _to AdvanceShutdownPhase(aPhase); } \
NS_IMETHOD SetImpendingShutdown(void) override { return _to SetImpendingShutdown(); } \
NS_IMETHOD IsInOrBeyondShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase, bool *_retval) override { return _to IsInOrBeyondShutdownPhase(aPhase, _retval); } \
using nsIAppStartup::GetShuttingDown; \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override { return _to GetShuttingDown(aShuttingDown); } \
using nsIAppStartup::GetAttemptingQuit; \
NS_IMETHOD GetAttemptingQuit(bool *aAttemptingQuit) override { return _to GetAttemptingQuit(aAttemptingQuit); } \
NS_IMETHOD GetStartingUp(bool *aStartingUp) override { return _to GetStartingUp(aStartingUp); } \
NS_IMETHOD DoneStartingUp(void) override { return _to DoneStartingUp(); } \
NS_IMETHOD GetRestarting(bool *aRestarting) override { return _to GetRestarting(aRestarting); } \
NS_IMETHOD GetWasRestarted(bool *aWasRestarted) override { return _to GetWasRestarted(aWasRestarted); } \
NS_IMETHOD GetWasSilentlyStarted(bool *aWasSilentlyStarted) override { return _to GetWasSilentlyStarted(aWasSilentlyStarted); } \
NS_IMETHOD GetSecondsSinceLastOSRestart(int64_t *aSecondsSinceLastOSRestart) override { return _to GetSecondsSinceLastOSRestart(aSecondsSinceLastOSRestart); } \
NS_IMETHOD GetShowedPreXULSkeletonUI(bool *aShowedPreXULSkeletonUI) override { return _to GetShowedPreXULSkeletonUI(aShowedPreXULSkeletonUI); } \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::MutableHandle<JS::Value> _retval) override { return _to GetStartupInfo(cx, _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_NSIAPPSTARTUP(_to) \
NS_IMETHOD CreateHiddenWindow(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateHiddenWindow(); } \
NS_IMETHOD DestroyHiddenWindow(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DestroyHiddenWindow(); } \
NS_IMETHOD Run(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Run(); } \
NS_IMETHOD EnterLastWindowClosingSurvivalArea(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EnterLastWindowClosingSurvivalArea(); } \
NS_IMETHOD ExitLastWindowClosingSurvivalArea(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ExitLastWindowClosingSurvivalArea(); } \
NS_IMETHOD GetAutomaticSafeModeNecessary(bool *aAutomaticSafeModeNecessary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutomaticSafeModeNecessary(aAutomaticSafeModeNecessary); } \
NS_IMETHOD RestartInSafeMode(uint32_t aQuitMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RestartInSafeMode(aQuitMode); } \
NS_IMETHOD CreateInstanceWithProfile(nsIToolkitProfile *aProfile, const nsTArray<nsString >& aArgs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstanceWithProfile(aProfile, aArgs); } \
NS_IMETHOD TrackStartupCrashBegin(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TrackStartupCrashBegin(_retval); } \
NS_IMETHOD TrackStartupCrashEnd(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TrackStartupCrashEnd(); } \
NS_IMETHOD Quit(uint32_t aMode, int32_t aExitCode, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Quit(aMode, aExitCode, _retval); } \
NS_IMETHOD AdvanceShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AdvanceShutdownPhase(aPhase); } \
NS_IMETHOD SetImpendingShutdown(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImpendingShutdown(); } \
NS_IMETHOD IsInOrBeyondShutdownPhase(nsIAppStartup::IDLShutdownPhase aPhase, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsInOrBeyondShutdownPhase(aPhase, _retval); } \
NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShuttingDown(aShuttingDown); } \
NS_IMETHOD GetAttemptingQuit(bool *aAttemptingQuit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttemptingQuit(aAttemptingQuit); } \
NS_IMETHOD GetStartingUp(bool *aStartingUp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartingUp(aStartingUp); } \
NS_IMETHOD DoneStartingUp(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoneStartingUp(); } \
NS_IMETHOD GetRestarting(bool *aRestarting) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRestarting(aRestarting); } \
NS_IMETHOD GetWasRestarted(bool *aWasRestarted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWasRestarted(aWasRestarted); } \
NS_IMETHOD GetWasSilentlyStarted(bool *aWasSilentlyStarted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWasSilentlyStarted(aWasSilentlyStarted); } \
NS_IMETHOD GetSecondsSinceLastOSRestart(int64_t *aSecondsSinceLastOSRestart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecondsSinceLastOSRestart(aSecondsSinceLastOSRestart); } \
NS_IMETHOD GetShowedPreXULSkeletonUI(bool *aShowedPreXULSkeletonUI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowedPreXULSkeletonUI(aShowedPreXULSkeletonUI); } \
NS_IMETHOD GetStartupInfo(JSContext* cx, JS::MutableHandle<JS::Value> _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartupInfo(cx, _retval); }
#endif /* __gen_nsIAppStartup_h__ */