mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
29 lines
584 B
C++
29 lines
584 B
C++
#ifndef PROBABILITY_PROBABILITY_APP_H
|
|
#define PROBABILITY_PROBABILITY_APP_H
|
|
|
|
#include <escher.h>
|
|
#include <poincare.h>
|
|
#include "law_controller.h"
|
|
#include "local_context.h"
|
|
#include "../expression_text_field_delegate.h"
|
|
|
|
namespace Probability {
|
|
|
|
class App : public ::App, public ExpressionTextFieldDelegate {
|
|
public:
|
|
enum class Law {
|
|
Normal,
|
|
Student
|
|
};
|
|
App(Container * container, Context * context);
|
|
Context * localContext() override;
|
|
private:
|
|
LocalContext m_localContext;
|
|
LawController m_lawController;
|
|
StackViewController m_stackViewController;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|