[escher/input_view_controller] Define setTextBody method

And inline textBody method.
This commit is contained in:
Ruben Dashyan
2019-07-26 16:21:27 +02:00
committed by LeaNumworks
parent 413397652c
commit 7d9f479f3c
2 changed files with 6 additions and 5 deletions

View File

@@ -25,10 +25,6 @@ InputViewController::InputViewController(Responder * parentResponder, ViewContro
{
}
const char * InputViewController::textBody() {
return m_expressionFieldController.expressionField()->text();
}
void InputViewController::edit(Responder * caller, Ion::Events::Event event, void * context, const char * initialText, Invocation::Action successAction, Invocation::Action failureAction) {
m_successAction = Invocation(successAction, context);
m_failureAction = Invocation(failureAction, context);