ListBookController - partie 1

This commit is contained in:
Fournier Gabriel
2020-11-14 13:39:11 +01:00
parent a0acdc171b
commit c37b4bd1f4
6 changed files with 68 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
#include "list_book_controller.h"
namespace reader
{
View* ListBookController::view()
{
return &m_tableView;
}
ListBookController::ListBookController(Responder * parentResponder):
ViewController(parentResponder),
m_tableView(this, this)
{
}
int ListBookController::numberOfRows() const
{
return 0;
}
KDCoordinate ListBookController::cellHeight()
{
return 50;
}
HighlightCell * ListBookController::reusableCell(int index)
{
return nullptr;
}
int ListBookController::reusableCellCount() const
{
return 0;
}
}