summaryrefslogtreecommitdiff
path: root/core/os/os.cpp
diff options
context:
space:
mode:
authorMaxim Sheronov <maxim.sheronov@gmail.com>2017-09-12 22:09:06 +0300
committerMaxim Sheronov <maxim.sheronov@gmail.com>2017-09-13 20:57:07 +0300
commit0fffa45158bebeb4aaba1df1d271c000fffbe7f7 (patch)
tree369918b0d7c9f367a7396c3584ac84ab550bd103 /core/os/os.cpp
parent69017974beb16dcfa971f9b6f33a4f005be57bef (diff)
Fix enums bindings
Add missed bindings for enums Move some enums to class to have correct output of api.json
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 764f7fe6e6..437ce01a5e 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -485,7 +485,7 @@ bool OS::is_vsync_enabled() const {
return true;
}
-PowerState OS::get_power_state() {
+OS::PowerState OS::get_power_state() {
return POWERSTATE_UNKNOWN;
}
int OS::get_power_seconds_left() {