mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
ListBookController - partie 1
This commit is contained in:
37
apps/reader/list_book_controller.cpp
Normal file
37
apps/reader/list_book_controller.cpp
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user