OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef POWER_MANAGEMENT_EXTENSION_H_ | 5 #ifndef POWER_MANAGEMENT_EXTENSION_H_ |
6 #define POWER_MANAGEMENT_EXTENSION_H_ | 6 #define POWER_MANAGEMENT_EXTENSION_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "include/dart_native_api.h" | 9 #include "include/dart_native_api.h" |
10 | 10 |
11 int64_t HandleDisableSleep(const char* reason); | 11 int64_t HandleDisableSleep(const char* reason); |
12 void HandleEnableSleep(int64_t disable_id); | 12 void HandleEnableSleep(int64_t disable_id); |
13 | 13 |
14 #endif // POWER_MANAGEMENT_EXTENSION_H_ | 14 #endif // POWER_MANAGEMENT_EXTENSION_H_ |
OLD | NEW |