Files
Upsilon/apps/shared/text_field_delegate.h
Lionel Debroux 1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00

21 lines
551 B
C++

#ifndef SHARED_TEXT_FIELD_DELEGATE_H
#define SHARED_TEXT_FIELD_DELEGATE_H
#include <escher.h>
#include "text_field_delegate_app.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