Line data Source code
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/. */
6 :
7 : namespace mozilla {
8 : namespace hal_impl {
9 :
10 : bool
11 0 : GetScreenEnabled()
12 : {
13 0 : return true;
14 : }
15 :
16 : void
17 0 : SetScreenEnabled(bool aEnabled)
18 0 : {}
19 :
20 : bool
21 0 : GetKeyLightEnabled()
22 : {
23 0 : return true;
24 : }
25 :
26 : void
27 0 : SetKeyLightEnabled(bool aEnabled)
28 0 : {}
29 :
30 : double
31 0 : GetScreenBrightness()
32 : {
33 0 : return 1;
34 : }
35 :
36 : void
37 0 : SetScreenBrightness(double aBrightness)
38 0 : {}
39 :
40 : } // namespace hal_impl
41 : } // namespace mozilla
|