diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2PeopleLinkIterator.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/T2DLL/T2PeopleLinkIterator.cpp b/src/T2DLL/T2PeopleLinkIterator.cpp new file mode 100644 index 0000000..96ad5d8 --- /dev/null +++ b/src/T2DLL/T2PeopleLinkIterator.cpp @@ -0,0 +1,28 @@ +#include "T2PeopleLinkIterator.h" + +T2PeopleLinkIterator::T2PeopleLinkIterator(T2People* people) + : mFirst(people) + , mCurrent(people) +{ +} + +/*virtual*/ T2PeopleLinkIterator::~T2PeopleLinkIterator() { +} + +int T2PeopleLinkIterator::Current(T2People** pPeople) { + if (mCurrent) { + *pPeople = mCurrent; + return true; + } + return false; +} + +int T2PeopleLinkIterator::Prev(T2People** pPeople) { + // TODO once T2Matter, T2People is done +} + +int T2PeopleLinkIterator::Next(T2People** pPeople) { +} + +void T2PeopleLinkIterator::Reset() { +} |