Files
Upsilon/apps/code/editor_controller.h
Émilie Feral 304bbf18b9 [apps/code] Split the editor in editor and executor
Change-Id: I862deeb4fd84e8fb77bf880095f80c1a2a4d8c5d
2017-08-17 16:21:22 +02:00

24 lines
413 B
C++

#ifndef CODE_EDITOR_CONTROLLER_H
#define CODE_EDITOR_CONTROLLER_H
#include <escher.h>
#include "program.h"
namespace Code {
class EditorController : public ViewController {
public:
EditorController(Program * program);
View * view() override;
bool handleEvent(Ion::Events::Event event) override;
void didBecomeFirstResponder() override;
private:
TextArea m_view;
Program * m_program;
};
}
#endif