openmw-tes3coop/apps/openmw/mwgui/journalwindow.hpp
2013-04-24 20:20:01 -07:00

25 lines
575 B
C++

#ifndef MWGUI_JOURNAL_H
#define MWGUI_JOURNAL_H
#include <memory>
namespace MWBase { class WindowManager; }
namespace MWGui
{
struct IJournalViewModel;
struct IJournalWindow
{
/// construct a new instance of the one JournalWindow implementation
static IJournalWindow * create (std::shared_ptr <IJournalViewModel> Model);
/// destroy this instance of the JournalWindow implementation
virtual ~IJournalWindow () {};
/// show/hide the journal window
virtual void setVisible (bool newValue) = 0;
};
}
#endif