#ifndef SHARED_EXPRESSION_LAYOUT_FIELD_DELEGATE_H #define SHARED_EXPRESSION_LAYOUT_FIELD_DELEGATE_H #include #include "expression_field_delegate_app.h" namespace Shared { class ExpressionLayoutFieldDelegate : public ::ExpressionLayoutFieldDelegate { public: bool expressionLayoutFieldShouldFinishEditing(ExpressionLayoutField * expressionLayoutField, Ion::Events::Event event) override; bool expressionLayoutFieldDidReceiveEvent(ExpressionLayoutField * expressionLayoutField, Ion::Events::Event event) override; bool expressionLayoutFieldDidFinishEditing(ExpressionLayoutField * expressionLayoutField, Poincare::ExpressionLayout * layout, Ion::Events::Event event) override; bool expressionLayoutFieldDidAbortEditing(ExpressionLayoutField * expressionLayoutField) override; void expressionLayoutFieldDidChangeSize(ExpressionLayoutField * expressionLayoutField) override; Toolbox * toolboxForExpressionLayoutField(ExpressionLayoutField * expressionLayoutField) override; private: virtual ExpressionFieldDelegateApp * expressionFieldDelegateApp() = 0; }; } #endif