summaryrefslogtreecommitdiff
path: root/platform/osx/SCsub
diff options
context:
space:
mode:
authorJulian Murgia <the.straton@gmail.com>2016-07-23 13:15:55 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2017-03-04 18:04:29 +0100
commit94103c0c025f04e75d5e163d9f0bdde27bb0c848 (patch)
treed5bb55acd30270cace54dae5537b009887de1e68 /platform/osx/SCsub
parentef174abf6d640e69c402b5e9628743173c313439 (diff)
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/SCsub1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/SCsub b/platform/osx/SCsub
index 00f23687cf..1427c2e00d 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)