[escher] Rule of 5 in view

Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
This commit is contained in:
Émilie Feral
2017-05-24 11:53:07 +02:00
parent 9181e7cf5d
commit d7091397e5
47 changed files with 155 additions and 111 deletions

View File

@@ -5,14 +5,14 @@ namespace Shared {
ListParameterController::ListParameterController(Responder * parentResponder, FunctionStore * functionStore, I18n::Message functionColorMessage, I18n::Message deleteFunctionMessage) :
ViewController(parentResponder),
m_selectableTableView(SelectableTableView(this, this, 0, 1, Metric::CommonTopMargin, Metric::CommonRightMargin,
Metric::CommonBottomMargin, Metric::CommonLeftMargin, this)),
m_selectableTableView(this, this, 0, 1, Metric::CommonTopMargin, Metric::CommonRightMargin,
Metric::CommonBottomMargin, Metric::CommonLeftMargin, this),
m_functionStore(functionStore),
#if FUNCTION_COLOR_CHOICE
m_colorCell(MessageTableCellWithChevron(functionColorMessage)),
m_colorCell(functionColorMessage),
#endif
m_enableCell(MessageTableCellWithSwitch(I18n::Message::ActivateDesactivate)),
m_deleteCell(MessageTableCell(deleteFunctionMessage))
m_enableCell(I18n::Message::ActivateDesactivate),
m_deleteCell(deleteFunctionMessage)
{
}