diff options
Diffstat (limited to 'dom/system/gonk/TimeZoneSettingObserver.h')
-rw-r--r-- | dom/system/gonk/TimeZoneSettingObserver.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/system/gonk/TimeZoneSettingObserver.h b/dom/system/gonk/TimeZoneSettingObserver.h new file mode 100644 index 000000000..08b7cebb3 --- /dev/null +++ b/dom/system/gonk/TimeZoneSettingObserver.h @@ -0,0 +1,20 @@ +/* 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 mozilla_system_timesetting_h__ +#define mozilla_system_timesetting_h__ + +namespace mozilla { +namespace system { + +// Initialize TimeZoneSettingObserver which observes the time zone change +// event from settings service. When receiving the event, it modifies the +// system time zone. +void InitializeTimeZoneSettingObserver(); + +} // namespace system +} // namespace mozilla + +#endif // mozilla_system_timesetting_h__ + |