aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utility/progressListener.cpp (renamed from src/utility/progressionListener.cpp)16
-rw-r--r--src/utility/stream.cpp2
-rw-r--r--src/utility/stringProxy.cpp2
3 files changed, 10 insertions, 10 deletions
diff --git a/src/utility/progressionListener.cpp b/src/utility/progressListener.cpp
index d2895f01..0a6f63e9 100644
--- a/src/utility/progressionListener.cpp
+++ b/src/utility/progressListener.cpp
@@ -21,36 +21,36 @@
// the GNU General Public License cover the whole combination.
//
-#include "vmime/utility/progressionListener.hpp"
+#include "vmime/utility/progressListener.hpp"
namespace vmime {
namespace utility {
-// progressionListenerSizeAdapter
+// progressListenerSizeAdapter
-progressionListenerSizeAdapter::progressionListenerSizeAdapter
- (progressionListener* list, const int total)
+progressListenerSizeAdapter::progressListenerSizeAdapter
+ (progressListener* list, const int total)
: m_wrapped(list), m_total(total)
{
}
-const bool progressionListenerSizeAdapter::cancel() const
+const bool progressListenerSizeAdapter::cancel() const
{
return (m_wrapped ? m_wrapped->cancel() : false);
}
-void progressionListenerSizeAdapter::start(const int predictedTotal)
+void progressListenerSizeAdapter::start(const int predictedTotal)
{
if (m_wrapped)
m_wrapped->start(predictedTotal);
}
-void progressionListenerSizeAdapter::progress(const int current, const int currentTotal)
+void progressListenerSizeAdapter::progress(const int current, const int currentTotal)
{
if (m_wrapped)
{
@@ -62,7 +62,7 @@ void progressionListenerSizeAdapter::progress(const int current, const int curre
}
-void progressionListenerSizeAdapter::stop(const int total)
+void progressListenerSizeAdapter::stop(const int total)
{
if (m_wrapped)
{
diff --git a/src/utility/stream.cpp b/src/utility/stream.cpp
index 04fa3308..c9f901ec 100644
--- a/src/utility/stream.cpp
+++ b/src/utility/stream.cpp
@@ -55,7 +55,7 @@ const stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os)
const stream::size_type bufferedStreamCopy(inputStream& is, outputStream& os,
- const stream::size_type length, progressionListener* progress)
+ const stream::size_type length, progressListener* progress)
{
stream::value_type buffer[65536];
stream::size_type total = 0;
diff --git a/src/utility/stringProxy.cpp b/src/utility/stringProxy.cpp
index 6ad41e26..10c2c3ce 100644
--- a/src/utility/stringProxy.cpp
+++ b/src/utility/stringProxy.cpp
@@ -86,7 +86,7 @@ stringProxy& stringProxy::operator=(const string_type& s)
void stringProxy::extract(outputStream& os, const size_type start, const size_type end,
- utility::progressionListener* progress) const
+ utility::progressListener* progress) const
{
size_type len = 0;