Bug 1039924 part 8 - Include FloatingPoint.h in StickyTimeDuration.h; r=froydnj
[gecko.git] / hal / fallback / FallbackScreenPower.cpp
blob72d843fd2498389ef2fd68992b3723f68f9622c1
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et ft=cpp : */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 namespace mozilla {
8 namespace hal_impl {
10 bool
11 GetScreenEnabled()
13 return true;
16 void
17 SetScreenEnabled(bool aEnabled)
20 bool
21 GetKeyLightEnabled()
23 return true;
26 void
27 SetKeyLightEnabled(bool aEnabled)
30 double
31 GetScreenBrightness()
33 return 1;
36 void
37 SetScreenBrightness(double aBrightness)
40 } // hal_impl
41 } // namespace mozilla