2011-11-28 15:51:11 +00:00
|
|
|
#ifndef MWGUI_JOURNAL_H
|
|
|
|
#define MWGUI_JOURNAL_H
|
|
|
|
|
2013-01-27 20:16:46 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
namespace MWBase { class WindowManager; }
|
2011-11-28 15:51:11 +00:00
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
2013-01-27 20:16:46 +00:00
|
|
|
struct IJournalViewModel;
|
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
struct IJournalWindow
|
2011-11-28 15:51:11 +00:00
|
|
|
{
|
2013-01-13 21:03:11 +00:00
|
|
|
/// construct a new instance of the one JournalWindow implementation
|
2013-01-27 20:16:46 +00:00
|
|
|
static IJournalWindow * create (std::shared_ptr <IJournalViewModel> Model);
|
2011-11-28 15:51:11 +00:00
|
|
|
|
2013-01-13 21:03:11 +00:00
|
|
|
/// destroy this instance of the JournalWindow implementation
|
|
|
|
virtual ~IJournalWindow () {};
|
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
|