diff options
| author | Julian Murgia | 2016-07-23 13:15:55 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-04 18:04:29 +0100 |
| commit | 94103c0c025f04e75d5e163d9f0bdde27bb0c848 (patch) | |
| tree | d5bb55acd30270cace54dae5537b009887de1e68 /platform/android/SCsub | |
| parent | ef174abf6d640e69c402b5e9628743173c313439 (diff) | |
| download | godot-94103c0c025f04e75d5e163d9f0bdde27bb0c848.tar.gz godot-94103c0c025f04e75d5e163d9f0bdde27bb0c848.tar.zst godot-94103c0c025f04e75d5e163d9f0bdde27bb0c848.zip | |
Add API to access battery power state
Done:
- X11, server (tested)
- Windows (developed, would be nice to retest)
- OSX (not tested)
Prepared (not developed):
- Android (code is here, but may not compile)
- iphone
- winrt
- bb10
- haiku
- javascript
Diffstat (limited to 'platform/android/SCsub')
| -rw-r--r-- | platform/android/SCsub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub index 146f7c25a..86f8c40f8 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -20,6 +20,7 @@ android_files = [ 'java_glue.cpp', 'cpu-features.c', 'java_class_wrapper.cpp' + 'power_android.cpp' ] # env.Depends('#core/math/vector3.h', 'vector3_psp.h') |
