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 
Definition: timer.h:15
SuspendTimer(AppsContainer *container)