1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
2011-04-19 11:02:22 +02:00

37 lines
756 B
C++

#include "journal.hpp"
#include <iostream>
namespace MWDialogue
{
Journal::Journal (MWWorld::Environment& environment)
: mEnvironment (environment)
{}
void Journal::addEntry (const std::string& id, int index)
{
std::cout << "journal: " << id << " at " << index << std::endl;
}
void Journal::setJournalIndex (const std::string& id, int index)
{
std::cout << "journal (no entry): " << id << " at " << index << std::endl;
}
int Journal::getJournalIndex (const std::string& id) const
{
return 0;
}
Journal::TEntryIter Journal::begin() const
{
return mJournal.begin();
}
Journal::TEntryIter Journal::end() const
{
return mJournal.end();
}
}