1234567891011121314151617181920212223 |
- --- xbmc-12.3-Frodo.orig/xbmc/powermanagement/PowerManager.cpp 2013-12-12 22:47:49.000000000 +0100
- +++ xbmc-12.3-Frodo/xbmc/powermanagement/PowerManager.cpp 2014-01-29 07:59:01.000000000 +0100
- @@ -46,6 +46,9 @@
- #include "linux/ConsoleDeviceKitPowerSyscall.h"
- #include "linux/SystemdUPowerSyscall.h"
- #include "linux/UPowerSyscall.h"
- +#ifdef HAS_SIMPLEPM
- +#include "linux/LinuxPowerSyscall.h"
- +#endif
- #ifdef HAS_HAL
- #include "linux/HALPowerSyscall.h"
- #endif
- @@ -83,6 +86,10 @@ void CPowerManager::Initialize()
- m_instance = new CSystemdUPowerSyscall();
- else if (CUPowerSyscall::HasUPower())
- m_instance = new CUPowerSyscall();
- +#ifdef HAS_SIMPLEPM
- + else
- + m_instance = new CLinuxPowerSyscall();
- +#endif
- #ifdef HAS_HAL
- else
- m_instance = new CHALPowerSyscall();
|