Bump version to 0.127
[platform/framework/web/tizen-extensions-crosswalk.git] / power / power_types.h
1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5
6 #ifndef POWER_POWER_TYPES_H_
7 #define POWER_POWER_TYPES_H_
8
9 // These enums must be kept in sync with the JS object notation.
10 enum ResourceType {
11   SCREEN = 0,
12   CPU = 1,
13   ResourceTypeValueCount
14 };
15
16 enum ResourceState {
17   SCREEN_OFF = 0,
18   SCREEN_DIM = 1,
19   SCREEN_NORMAL = 2,
20   SCREEN_BRIGHT = 3,
21   CPU_AWAKE = 4,
22   ResourceStateValueCount
23 };
24
25 #endif  // POWER_POWER_TYPES_H_