[apps] Rule of 5 (3)

Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
This commit is contained in:
Émilie Feral
2017-05-05 18:43:09 +02:00
parent ccd1cef028
commit 96733dbbdc
53 changed files with 157 additions and 136 deletions

View File

@@ -7,19 +7,16 @@ extern "C" {
App::App(Container * container, ViewController * rootViewController, I18n::Message name, I18n::Message upperName, const Image * icon, I18n::Message warningMessage) :
Responder(nullptr),
m_magic(Magic),
m_modalViewController(ModalViewController(this, rootViewController)),
m_modalViewController(this, rootViewController),
m_container(container),
m_firstResponder(nullptr),
m_warningController(WarningController(this, warningMessage)),
m_warningController(this, warningMessage),
m_name(name),
m_upperName(upperName),
m_icon(icon)
{
}
App::~App() {
}
bool App::processEvent(Ion::Events::Event event) {
Responder * responder = m_firstResponder;
bool didHandleEvent = false;