1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 02:49:55 +00:00
openmw-tes3mp/apps/openmw/mwdialogue/journal.cpp
2011-04-19 11:02:22 +02:00

36 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();
}
}