Numworks Epsilon
1.4.1
Graphing Calculator Operating System
suspend_timer.cpp
Go to the documentation of this file.
1
#include "
suspend_timer.h
"
2
#include "
apps_container.h
"
3
4
SuspendTimer::SuspendTimer
(
AppsContainer
* container) :
5
Timer
(k_idleBeforeSuspendDuration/
Timer
::TickDuration),
6
m_container(container)
7
{
8
}
9
10
bool
SuspendTimer::fire() {
11
m_container->
suspend
();
12
return
false
;
13
}
Timer
Definition:
timer.h:15
apps_container.h
AppsContainer
Definition:
apps_container.h:27
AppsContainer::suspend
void suspend(bool checkIfPowerKeyReleased=false)
Definition:
apps_container.cpp:68
suspend_timer.h
SuspendTimer::SuspendTimer
SuspendTimer(AppsContainer *container)
Definition:
suspend_timer.cpp:4
epsilon
apps
suspend_timer.cpp
Generated by
1.8.14