Numworks Epsilon  1.4.1
Graphing Calculator Operating System
text_field_delegate.h
Go to the documentation of this file.
1 #ifndef SHARED_TEXT_FIELD_DELEGATE_H
2 #define SHARED_TEXT_FIELD_DELEGATE_H
3 
4 #include <escher.h>
6 #include <poincare.h>
7 
8 namespace Shared {
9 
11 public:
12  bool textFieldShouldFinishEditing(TextField * textField, Ion::Events::Event event) override;
13  bool textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) override;
14  Toolbox * toolboxForTextInput(TextInput * textInput) override;
15 private:
16  virtual TextFieldDelegateApp * textFieldDelegateApp() = 0;
17 };
18 
19 }
20 
21 #endif
Toolbox * toolboxForTextInput(TextInput *textInput) override
bool textFieldDidReceiveEvent(TextField *textField, Ion::Events::Event event) override
bool textFieldShouldFinishEditing(TextField *textField, Ion::Events::Event event) override