2011-11-28 16:51:11 +01:00
|
|
|
#ifndef MWGUI_JOURNAL_H
|
|
|
|
#define MWGUI_JOURNAL_H
|
|
|
|
|
2013-01-27 12:16:46 -08:00
|
|
|
#include <memory>
|
2013-02-09 10:44:20 -08:00
|
|
|
#include <boost/shared_ptr.hpp>
|
2013-01-27 12:16:46 -08:00
|
|
|
|
2013-01-13 13:03:11 -08:00
|
|
|
namespace MWBase { class WindowManager; }
|
2011-11-28 16:51:11 +01:00
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
2013-03-06 20:02:00 -08:00
|
|
|
struct JournalViewModel;
|
2013-01-27 12:16:46 -08:00
|
|
|
|
2013-03-06 09:25:50 -08:00
|
|
|
struct JournalWindow
|
2011-11-28 16:51:11 +01:00
|
|
|
{
|
2013-01-13 13:03:11 -08:00
|
|
|
/// construct a new instance of the one JournalWindow implementation
|
2013-03-06 20:02:00 -08:00
|
|
|
static JournalWindow * create (boost::shared_ptr <JournalViewModel> Model);
|
2011-11-28 16:51:11 +01:00
|
|
|
|
2013-01-13 13:03:11 -08:00
|
|
|
/// destroy this instance of the JournalWindow implementation
|
2013-03-06 09:25:50 -08:00
|
|
|
virtual ~JournalWindow () {};
|
2012-01-16 17:46:25 +01:00
|
|
|
|
2013-01-13 13:03:11 -08:00
|
|
|
/// show/hide the journal window
|
|
|
|
virtual void setVisible (bool newValue) = 0;
|
2011-11-28 16:51:11 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2012-03-22 15:23:23 +01:00
|
|
|
#endif
|