diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-09-21 07:55:26 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-09-21 07:55:26 +0200 |
commit | 48df755c00a19a71e5583480b15091dc5c1e8df1 (patch) | |
tree | 3a5462a495525a0e2c3ddc2d09396f00c5797c3f /Database/database.h | |
parent | 14d90c9e1171655b864316c9c4aa34033fdd3a45 (diff) |
Adding a few accessors, and adding crawled bit, in order to be able to crawl several times in a row.
Diffstat (limited to 'Database/database.h')
-rw-r--r-- | Database/database.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Database/database.h b/Database/database.h index 222573d..c010e66 100644 --- a/Database/database.h +++ b/Database/database.h @@ -14,6 +14,7 @@ class Database : public Base { void setStart(DatabaseCell * newStart) { start = newStart; } void setEnd(DatabaseCell * newEnd) { end = newEnd; } Segment * getSegment(Uint32 id) { + // TODO: have a hash table. DatabaseCell * cursor; for (cursor = start; start; cursor = cursor->getNext()) |