]> Some of my projects - aniplayer.git/commit
Add WakeLock
authorAPTX <marek321@gmail.com>
Fri, 4 Mar 2022 14:05:27 +0000 (23:05 +0900)
committerAPTX <marek321@gmail.com>
Fri, 4 Mar 2022 14:05:27 +0000 (23:05 +0900)
commitba6eb4b5a410aab84ec98c01402fb5a759a330ee
treecb0e2e6a39a8de1071a4731f5975448af0e0f15f
parent166a51b00a5fde4e2ec28dc84450224094307f6e
Add WakeLock

A cross-platform (through platform backends) class for obtaining
a wake lock (force OS to stay awake and not turn off the screen).
12 files changed:
CMakeLists.txt
core/CMakeLists.txt
core/player.cpp
core/player.h
core/wake_lock/wakelock.cpp [new file with mode: 0644]
core/wake_lock/wakelock.h [new file with mode: 0644]
core/wake_lock/wakelock_null.cpp [new file with mode: 0644]
core/wake_lock/wakelock_null.h [new file with mode: 0644]
core/wake_lock/wakelock_win.cpp [new file with mode: 0644]
core/wake_lock/wakelock_win.h [new file with mode: 0644]
core/wake_lock/wakelock_x11.cpp [new file with mode: 0644]
core/wake_lock/wakelock_x11.h [new file with mode: 0644]