/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class nsAppStartup final : public nsIAppStartup, public nsIWindowCreator, public nsIObserver, public nsSupportsWeakReference { public:
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIAPPSTARTUP
NS_DECL_NSIWINDOWCREATOR
NS_DECL_NSIOBSERVER
nsAppStartup();
nsresult Init();
private:
~nsAppStartup() = default;
void CloseAllWindows();
friendclass nsAppExitEvent;
nsCOMPtr<nsIAppShell> mAppShell;
int32_t mConsiderQuitStopper; // if > 0, Quit(eConsiderQuit) fails bool mRunning; // Have we started the main event loop? bool mShuttingDown; // Quit method reentrancy check bool mStartingUp; // Have we passed final-ui-startup? bool mAttemptingQuit; // Quit(eAttemptQuit) still trying bool mIsSafeModeNecessary; // Whether safe mode is necessary bool mStartupCrashTrackingEnded; // Whether startup crash tracking has // already ended bool mWasSilentlyStarted; // Was this startup a silent start?
#ifdefined(XP_WIN) // If true, allow the process to live on after the last window is closed bool mAllowWindowless;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.