Files
Upsilon/apps/shared/expression_text_field_delegate.h
Émilie Feral 23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00

21 lines
490 B
C++

#ifndef SHARED_EXPRESSION_TEXT_FIELD_DELEGATE_H
#define SHARED_EXPRESSION_TEXT_FIELD_DELEGATE_H
#include <escher.h>
#include <poincare.h>
namespace Shared {
class ExpressionTextFieldDelegate : public TextFieldDelegate {
public:
virtual Poincare::Context * localContext() = 0;
virtual const char * XNT();
bool textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) override;
private:
bool cursorInToken(TextField * textField, const char * token);
};
}
#endif