OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
journalwindow.hpp
Go to the documentation of this file.
1 #ifndef MWGUI_JOURNAL_H
2 #define MWGUI_JOURNAL_H
3 
4 #include "windowbase.hpp"
5 
7 
8 #include <memory>
9 
10 namespace MWBase { class WindowManager; }
11 
12 namespace MWGui
13 {
14  struct JournalViewModel;
15 
16  struct JournalWindow : public WindowBase
17  {
18  JournalWindow();
19 
21  static JournalWindow * create (std::shared_ptr <JournalViewModel> Model, bool questList, ToUTF8::FromType encoding);
22 
24  virtual ~JournalWindow () {};
25 
27  virtual void setVisible (bool newValue) = 0;
28  };
29 }
30 
31 #endif
JournalWindow()
Definition: journalwindow.cpp:668
static JournalWindow * create(std::shared_ptr< JournalViewModel > Model, bool questList, ToUTF8::FromType encoding)
construct a new instance of the one JournalWindow implementation
Definition: journalwindow.cpp:663
FromType
Definition: to_utf8.hpp:11
Definition: windowbase.hpp:21
virtual void setVisible(bool newValue)=0
show/hide the journal window
Definition: journalwindow.hpp:16
virtual ~JournalWindow()
destroy this instance of the JournalWindow implementation
Definition: journalwindow.hpp:24