2011-11-28 15:51:11 +00:00
|
|
|
#ifndef MWGUI_JOURNAL_H
|
|
|
|
#define MWGUI_JOURNAL_H
|
|
|
|
|
2017-09-22 18:46:08 +00:00
|
|
|
#include "windowbase.hpp"
|
|
|
|
|
2017-11-22 04:32:38 +00:00
|
|
|
#include <components/to_utf8/to_utf8.hpp>
|
|
|
|
|
2017-05-05 19:21:11 +00:00
|
|
|
#include <memory>
|
2013-01-27 20:16:46 +00:00
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
namespace MWBase { class WindowManager; }
|
2011-11-28 15:51:11 +00:00
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
2013-03-07 04:02:00 +00:00
|
|
|
struct JournalViewModel;
|
2013-01-27 20:16:46 +00:00
|
|
|
|
2017-09-22 18:46:08 +00:00
|
|
|
struct JournalWindow : public WindowBase
|
2011-11-28 15:51:11 +00:00
|
|
|
{
|
2017-09-22 18:46:08 +00:00
|
|
|
JournalWindow();
|
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
/// construct a new instance of the one JournalWindow implementation
|
2017-11-22 04:32:38 +00:00
|
|
|
static JournalWindow * create (std::shared_ptr <JournalViewModel> Model, bool questList, ToUTF8::FromType encoding);
|
2011-11-28 15:51:11 +00:00
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
/// destroy this instance of the JournalWindow implementation
|
2013-03-06 17:25:50 +00:00
|
|
|
virtual ~JournalWindow () {};
|
2012-01-16 16:46:25 +00:00
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
/// show/hide the journal window
|
|
|
|
virtual void setVisible (bool newValue) = 0;
|
2011-11-28 15:51:11 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2012-03-22 14:23:23 +00:00
|
|
|
#endif
|