Files
Upsilon/apps/apps_container.h
Émilie Feral 96a9ac3a9c [apps/graph] Wrap in namespace Graph
Change-Id: I08b37438f42749ff86e105770cd5aa566f84a237
2016-10-14 11:47:19 +02:00

33 lines
617 B
C++

#ifndef APPS_CONTAINER_H
#define APPS_CONTAINER_H
#include "home/app.h"
#include "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;
Graph::App m_graphApp;
Probability::App m_probabilityApp;
#if USE_PIC_VIEW_APP
PicViewApp m_picViewApp;
#endif
Context m_context;
};
#endif