2011-11-28 15:51:11 +00:00
|
|
|
#ifndef MWGUI_JOURNAL_H
|
|
|
|
#define MWGUI_JOURNAL_H
|
|
|
|
|
2013-02-09 18:44:20 +00:00
|
|
|
#include <boost/shared_ptr.hpp>
|
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
|
|
|
|
2013-03-06 17:25:50 +00:00
|
|
|
struct JournalWindow
|
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-03-07 04:02:00 +00:00
|
|
|
static JournalWindow * create (boost::shared_ptr <JournalViewModel> Model);
|
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
|