1 2 3 4 5 6 7 8 9 10 11 12 13
#include "suspend_timer.h" #include "apps_container.h" SuspendTimer::SuspendTimer(AppsContainer * container) : Timer(k_idleBeforeSuspendDuration/Timer::TickDuration), m_container(container) { } bool SuspendTimer::fire() { m_container->suspend(); return false; }