suspend_timer.cpp 272 Bytes
#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;
}