2013-01-27 20:07:28 +00:00
|
|
|
#ifndef MWGUI_JOURNALBOOKS_HPP
|
|
|
|
#define MWGUI_JOURNALBOOKS_HPP
|
|
|
|
|
|
|
|
#include "bookpage.hpp"
|
|
|
|
#include "journalviewmodel.hpp"
|
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
|
|
|
struct JournalBooks
|
|
|
|
{
|
2013-03-06 17:25:50 +00:00
|
|
|
typedef TypesetBook::ptr book;
|
2013-03-07 04:02:00 +00:00
|
|
|
JournalViewModel::ptr Model;
|
2013-01-27 20:07:28 +00:00
|
|
|
|
2013-03-07 04:02:00 +00:00
|
|
|
JournalBooks (JournalViewModel::ptr Model);
|
2013-01-27 20:07:28 +00:00
|
|
|
|
|
|
|
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:
|
2013-03-06 17:25:50 +00:00
|
|
|
BookTypesetter::ptr createTypesetter ();
|
2013-01-27 20:07:28 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // MWGUI_JOURNALBOOKS_HPP
|