FallbackTime.cpp 829 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. * vim: sw=2 ts=8 et :
  3. */
  4. /* This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  6. * You can obtain one at http://mozilla.org/MPL/2.0/. */
  7. #include "Hal.h"
  8. namespace mozilla {
  9. namespace hal_impl {
  10. void
  11. AdjustSystemClock(int64_t aDeltaMilliseconds)
  12. {}
  13. void
  14. SetTimezone(const nsCString& aTimezoneSpec)
  15. {}
  16. nsCString
  17. GetTimezone()
  18. {
  19. return EmptyCString();
  20. }
  21. int32_t
  22. GetTimezoneOffset()
  23. {
  24. return 0;
  25. }
  26. void
  27. EnableSystemClockChangeNotifications()
  28. {
  29. }
  30. void
  31. DisableSystemClockChangeNotifications()
  32. {
  33. }
  34. void
  35. EnableSystemTimezoneChangeNotifications()
  36. {
  37. }
  38. void
  39. DisableSystemTimezoneChangeNotifications()
  40. {
  41. }
  42. } // namespace hal_impl
  43. } // namespace mozilla