Files
Upsilon/apps/apps_container.h
Romain Goyet 654024e860 [apps] Use the Home app
Change-Id: I25d881f237ce4b7db0b92afe68596416d3704781
2016-10-03 11:24:20 +02:00

32 lines
600 B
C++

#ifndef APPS_CONTAINER_H
#define APPS_CONTAINER_H
#include "home/app.h"
#include "graph/graph_app.h"
#include "probability/app.h"
#define USE_PIC_VIEW_APP 0
#if USE_PIC_VIEW_APP
#include "picview/picview_app.h"
#endif
class AppsContainer : public Container {
public:
AppsContainer();
int numberOfApps();
App * appAtIndex(int index);
bool handleEvent(Ion::Events::Event event) override;
private:
static constexpr int k_numberOfApps = 3;
Home::App m_homeApp;
GraphApp m_graphApp;
Probability::App m_probabilityApp;
#if USE_PIC_VIEW_APP
PicViewApp m_picViewApp;
#endif
};
#endif