#include <mktemplate.hh>

Public Member Functions | |
| virtual | ~ProgressReporter () |
| virtual void | error (const string &message) |
| General-purpose error reporting. | |
| virtual void | scanningImage (uint64 offset) |
| Called during second pass, when the image file is scanned. | |
| virtual void | matchFound (const FilePart *file, uint64 offInImage) |
| Called during second pass, when MkTemplate has found an area in the image whose MD5Sum matches that of a file. | |
| virtual void | finished (uint64 imageSize) |
| The MkTemplate operation has finished. | |
The default versions of the methods do nothing at all (except for error(), which prints the error to cerr) - you need to supply an object of a derived class to MkTemplate() to get called back.
| virtual MkTemplate::ProgressReporter::~ProgressReporter | ( | ) | [inline, virtual] |
| void MkTemplate::ProgressReporter::error | ( | const string & | message | ) | [virtual] |
| void MkTemplate::ProgressReporter::scanningImage | ( | uint64 | offset | ) | [virtual] |
Called during second pass, when the image file is scanned.
| offset | Offset in image file |
| void MkTemplate::ProgressReporter::matchFound | ( | const FilePart * | file, | |
| uint64 | offInImage | |||
| ) | [virtual] |
Called during second pass, when MkTemplate has found an area in the image whose MD5Sum matches that of a file.
| file | The file that matches | |
| offInImage | Offset of the match from start of image |
| void MkTemplate::ProgressReporter::finished | ( | uint64 | imageSize | ) | [virtual] |
1.5.6