Files
Upsilon/apps/text_field_delegate_app.cpp
Émilie Feral 983905af59 [apps] Factorize app classes by creating a text field delegate app
Change-Id: Ic9c1ed5ba6eb620389cbe4a009f703ecbfe98c55
2016-12-19 17:30:29 +01:00

16 lines
466 B
C++

#include "text_field_delegate_app.h"
#include "apps_container.h"
TextFieldDelegateApp::TextFieldDelegateApp(Container * container, ViewController * rootViewController, const char * name
, const Image * icon) :
::App(container, rootViewController, name, icon),
ExpressionTextFieldDelegate()
{
}
Context * TextFieldDelegateApp::localContext() {
AppsContainer * appsContainer = (AppsContainer *)app()->container();
return appsContainer->globalContext();
}