17 if (m_activeApp && snapshot == m_activeApp->
snapshot()) {
23 m_activeApp =
nullptr;
26 m_activeApp = snapshot->
unpack(
this);
51 int Container::numberOfTimers() {
55 Timer * Container::timerAtIndex(
int i) {
56 if (i < m_activeApp->numberOfTimers()) {
62 int Container::numberOfContainerTimers() {
66 Timer * Container::containerTimerAtIndex(
int i) {
virtual void didBecomeActive(Window *window)
virtual void switchTo(App::Snapshot *snapshot)
virtual void willBecomeInactive()
virtual bool processEvent(Ion::Events::Event event)
virtual int numberOfTimers()
virtual Window * window()=0
void redraw(bool force=false)
virtual App * unpack(Container *container)=0
virtual Timer * timerAtIndex(int i)
constexpr Event TimerFire
virtual bool dispatchEvent(Ion::Events::Event event) override