FallbackSystemService.cpp 724 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  4. * You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "Hal.h"
  6. namespace mozilla {
  7. namespace hal_impl {
  8. nsresult
  9. StartSystemService(const char* aSvcName, const char* aArgs)
  10. {
  11. MOZ_ASSERT(NS_IsMainThread());
  12. return NS_ERROR_NOT_IMPLEMENTED;
  13. }
  14. void
  15. StopSystemService(const char* aSvcName)
  16. {
  17. MOZ_ASSERT(NS_IsMainThread());
  18. }
  19. bool
  20. SystemServiceIsRunning(const char* aSvcName)
  21. {
  22. MOZ_ASSERT(NS_IsMainThread());
  23. return false;
  24. }
  25. } // namespace hal_impl
  26. } // namespace mozilla