Blame view

build4/epsilon-master/apps/shared/text_field_delegate.h 573 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #ifndef SHARED_TEXT_FIELD_DELEGATE_H
  #define SHARED_TEXT_FIELD_DELEGATE_H
  
  #include <escher.h>
  #include "text_field_delegate_app.h"
  #include <poincare.h>
  
  namespace Shared {
  
  class TextFieldDelegate : public ::TextFieldDelegate {
  public:
    bool textFieldShouldFinishEditing(TextField * textField, Ion::Events::Event event) override;
    bool textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) override;
    Toolbox * toolboxForTextInput(TextInput * textInput) override;
  private:
    virtual TextFieldDelegateApp * textFieldDelegateApp() = 0;
  };
  
  }
  
  #endif