OpenMW
apps/openmw/mwgui/journalbooks.hpp
Go to the documentation of this file.
00001 #ifndef MWGUI_JOURNALBOOKS_HPP
00002 #define MWGUI_JOURNALBOOKS_HPP
00003 
00004 #include "bookpage.hpp"
00005 #include "journalviewmodel.hpp"
00006 
00007 namespace MWGui
00008 {
00009     struct JournalBooks
00010     {
00011         typedef TypesetBook::Ptr Book;
00012         JournalViewModel::Ptr mModel;
00013 
00014         JournalBooks (JournalViewModel::Ptr model);
00015 
00016         Book createEmptyJournalBook ();
00017         Book createJournalBook ();
00018         Book createTopicBook (uintptr_t topicId);
00019         Book createQuestBook (uintptr_t questId);
00020         Book createTopicIndexBook ();
00021         Book createTopicIndexBook (char character);
00022         Book createQuestIndexBook (bool showAll);
00023 
00024     private:
00025         BookTypesetter::Ptr createTypesetter ();
00026     };
00027 }
00028 
00029 #endif // MWGUI_JOURNALBOOKS_HPP