mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 01:49:54 +00:00
f02a53b121
view-model data.
29 lines
723 B
C++
29 lines
723 B
C++
#ifndef MWGUI_JOURNALBOOKS_HPP
|
|
#define MWGUI_JOURNALBOOKS_HPP
|
|
|
|
#include "bookpage.hpp"
|
|
#include "journalviewmodel.hpp"
|
|
|
|
namespace MWGui
|
|
{
|
|
struct JournalBooks
|
|
{
|
|
typedef ITypesetBook::ptr book;
|
|
IJournalViewModel::ptr Model;
|
|
|
|
JournalBooks (IJournalViewModel::ptr Model);
|
|
|
|
book createEmptyJournalBook ();
|
|
book createJournalBook ();
|
|
book createTopicBook (uintptr_t topicId);
|
|
book createQuestBook (uintptr_t questId);
|
|
book createTopicIndexBook ();
|
|
book createTopicIndexBook (char character);
|
|
book createQuestIndexBook (bool showAll);
|
|
|
|
private:
|
|
IBookTypesetter::ptr createTypesetter ();
|
|
};
|
|
}
|
|
|
|
#endif // MWGUI_JOURNALBOOKS_HPP
|