summaryrefslogtreecommitdiffstats
path: root/hal/fallback/FallbackSystemService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hal/fallback/FallbackSystemService.cpp')
-rw-r--r--hal/fallback/FallbackSystemService.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/hal/fallback/FallbackSystemService.cpp b/hal/fallback/FallbackSystemService.cpp
new file mode 100644
index 000000000..93365c47c
--- /dev/null
+++ b/hal/fallback/FallbackSystemService.cpp
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set sw=2 ts=8 et ft=cpp : */
+/* 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/. */
+
+#include "Hal.h"
+
+namespace mozilla {
+namespace hal_impl {
+
+nsresult
+StartSystemService(const char* aSvcName, const char* aArgs)
+{
+ MOZ_ASSERT(NS_IsMainThread());
+
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+void
+StopSystemService(const char* aSvcName)
+{
+ MOZ_ASSERT(NS_IsMainThread());
+}
+
+bool
+SystemServiceIsRunning(const char* aSvcName)
+{
+ MOZ_ASSERT(NS_IsMainThread());
+
+ return false;
+}
+
+} // namespace hal_impl
+} // namespace mozilla