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/osx/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/osx/SCsub')
| -rw-r--r-- | platform/osx/SCsub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/SCsub b/platform/osx/SCsub index 00f23687c..1427c2e00 100644 --- a/platform/osx/SCsub +++ b/platform/osx/SCsub @@ -10,6 +10,7 @@ files = [ # 'context_gl_osx.cpp', 'dir_access_osx.mm', 'joypad_osx.cpp', + 'power_osx.cpp', ] env.Program('#bin/godot', files) |
