summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LineBlockTracer.h')
-rw-r--r--src/LineBlockTracer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/LineBlockTracer.h b/src/LineBlockTracer.h
index 2204e3671..2851cfbd7 100644
--- a/src/LineBlockTracer.h
+++ b/src/LineBlockTracer.h
@@ -18,12 +18,17 @@
// fwd: Chunk.h
class cChunk;
+// fwd: cChunkMap.h
+typedef cItemCallback<cChunk> cChunkCallback;
+
+
class cLineBlockTracer :
- public cBlockTracer
+ public cBlockTracer,
+ public cChunkCallback
{
typedef cBlockTracer super;
@@ -104,7 +109,8 @@ protected:
/** Moves m_Current to the next block on the line; returns false if no move is possible (reached the end) */
bool MoveToNextBlock(void);
- bool ChunkCallback(cChunk * a_Chunk);
+ // cChunkCallback overrides:
+ virtual bool Item(cChunk * a_Chunk) override;
} ;