1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 01:10:10 +00:00
OpenMW/apps/openmw/mwgui/journalwindow.hpp
2022-09-22 21:35:26 +03:00

36 lines
761 B
C++

#ifndef MWGUI_JOURNAL_H
#define MWGUI_JOURNAL_H
#include "windowbase.hpp"
#include <components/to_utf8/to_utf8.hpp>
#include <memory>
namespace MWBase
{
class WindowManager;
}
namespace MWGui
{
struct JournalViewModel;
struct JournalWindow : public BookWindowBase
{
JournalWindow();
/// construct a new instance of the one JournalWindow implementation
static std::unique_ptr<JournalWindow> create(
std::shared_ptr<JournalViewModel> Model, bool questList, ToUTF8::FromType encoding);
/// destroy this instance of the JournalWindow implementation
virtual ~JournalWindow() {}
/// show/hide the journal window
void setVisible(bool newValue) override = 0;
};
}
#endif