summaryrefslogtreecommitdiffstats
path: root/toolkit/xre/nsAppStartupNotifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/xre/nsAppStartupNotifier.h')
-rw-r--r--toolkit/xre/nsAppStartupNotifier.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/toolkit/xre/nsAppStartupNotifier.h b/toolkit/xre/nsAppStartupNotifier.h
new file mode 100644
index 0000000000..f21c15deb1
--- /dev/null
+++ b/toolkit/xre/nsAppStartupNotifier.h
@@ -0,0 +1,18 @@
+/* -*- 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/. */
+
+#ifndef nsAppStartupNotifier_h___
+#define nsAppStartupNotifier_h___
+
+#include "nsIAppStartupNotifier.h"
+#include "nsError.h"
+
+class nsAppStartupNotifier final {
+ public:
+ static nsresult NotifyObservers(const char* aCategory,
+ nsISupports* aSubject = nullptr);
+};
+
+#endif /* nsAppStartupNotifier_h___ */