Numworks Epsilon
1.4.1
Graphing Calculator Operating System
suspend_timer.h
Go to the documentation of this file.
1
#ifndef APPS_SUSPEND_TIMER_H
2
#define APPS_SUSPEND_TIMER_H
3
4
#include <
escher.h
>
5
6
class
AppsContainer
;
7
8
class
SuspendTimer
:
public
Timer
{
9
public
:
10
SuspendTimer
(
AppsContainer
* container);
11
private
:
12
constexpr
static
int
k_idleBeforeSuspendDuration = 5*60*1000;
// In miliseconds
13
bool
fire()
override
;
14
AppsContainer
* m_container;
15
};
16
17
#endif
18
Timer
Definition:
timer.h:15
escher.h
AppsContainer
Definition:
apps_container.h:27
SuspendTimer
Definition:
suspend_timer.h:8
SuspendTimer::SuspendTimer
SuspendTimer(AppsContainer *container)
Definition:
suspend_timer.cpp:4
epsilon
apps
suspend_timer.h
Generated by
1.8.14