mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
31 lines
759 B
C++
31 lines
759 B
C++
#ifndef MWGUI_JOURNALBOOKS_HPP
|
|
#define MWGUI_JOURNALBOOKS_HPP
|
|
|
|
#include "bookpage.hpp"
|
|
#include "journalviewmodel.hpp"
|
|
|
|
namespace MWGui
|
|
{
|
|
MWGui::BookTypesetter::Utf8Span to_utf8_span (char const * text);
|
|
|
|
struct JournalBooks
|
|
{
|
|
typedef TypesetBook::Ptr Book;
|
|
JournalViewModel::Ptr mModel;
|
|
|
|
JournalBooks (JournalViewModel::Ptr model);
|
|
|
|
Book createEmptyJournalBook ();
|
|
Book createJournalBook ();
|
|
Book createTopicBook (uintptr_t topicId);
|
|
Book createTopicBook (const std::string& topicId);
|
|
Book createQuestBook (const std::string& questName);
|
|
Book createTopicIndexBook ();
|
|
|
|
private:
|
|
BookTypesetter::Ptr createTypesetter ();
|
|
};
|
|
}
|
|
|
|
#endif // MWGUI_JOURNALBOOKS_HPP
|