mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
21 lines
375 B
C++
21 lines
375 B
C++
#include "read_book_controller.h"
|
|
|
|
namespace reader
|
|
{
|
|
|
|
ReadBookController::ReadBookController(Responder * parentResponder) :
|
|
ViewController(parentResponder)
|
|
{
|
|
}
|
|
|
|
View * ReadBookController::view()
|
|
{
|
|
return &m_readerView;
|
|
}
|
|
|
|
void ReadBookController::setBook(const External::Archive::File& file)
|
|
{
|
|
m_readerView.setText(reinterpret_cast<const char*>(file.data));
|
|
}
|
|
|
|
} |