diff options
author | Vincent Richard <[email protected]> | 2005-09-03 12:48:59 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-09-03 12:48:59 +0000 |
commit | f777b659b9bd43f90c3f8b224ad296e42d89a02b (patch) | |
tree | 20f08abf13d3f2cb3ff1bfaa83348d1f69cc20d9 /src/emptyContentHandler.cpp | |
parent | Updated code to use smart pointers. (diff) | |
download | vmime-f777b659b9bd43f90c3f8b224ad296e42d89a02b.tar.gz vmime-f777b659b9bd43f90c3f8b224ad296e42d89a02b.zip |
Added progression notifications.
Diffstat (limited to 'src/emptyContentHandler.cpp')
-rw-r--r-- | src/emptyContentHandler.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/emptyContentHandler.cpp b/src/emptyContentHandler.cpp index 57153fa9..beedb9d5 100644 --- a/src/emptyContentHandler.cpp +++ b/src/emptyContentHandler.cpp @@ -42,15 +42,29 @@ void emptyContentHandler::generate(utility::outputStream& /* os */, const vmime: } -void emptyContentHandler::extract(utility::outputStream& /* os */) const +void emptyContentHandler::extract(utility::outputStream& /* os */, + utility::progressionListener* progress) const { + if (progress) + progress->start(0); + // Nothing to do. + + if (progress) + progress->stop(0); } -void emptyContentHandler::extractRaw(utility::outputStream& /* os */) const +void emptyContentHandler::extractRaw(utility::outputStream& /* os */, + utility::progressionListener* progress) const { + if (progress) + progress->start(0); + // Nothing to do. + + if (progress) + progress->stop(0); } |