aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoderB64.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-10-21 15:05:47 +0000
committerVincent Richard <[email protected]>2004-10-21 15:05:47 +0000
commit2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch)
tree991edcf50483116ce83977a4d9e652de8c5328dc /src/encoderB64.cpp
parentheader class unit tests added (diff)
downloadvmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz
vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip
Refactoring (see ChangeLog).
Diffstat (limited to 'src/encoderB64.cpp')
-rw-r--r--src/encoderB64.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/encoderB64.cpp b/src/encoderB64.cpp
index 25b15ad9..c45d719f 100644
--- a/src/encoderB64.cpp
+++ b/src/encoderB64.cpp
@@ -30,9 +30,9 @@ encoderB64::encoderB64()
}
-const std::vector <string> encoderB64::availableProperties() const
+const std::vector <string> encoderB64::getAvailableProperties() const
{
- std::vector <string> list(encoder::availableProperties());
+ std::vector <string> list(encoder::getAvailableProperties());
list.push_back("maxlinelength");
@@ -70,7 +70,7 @@ const utility::stream::size_type encoderB64::encode(utility::inputStream& in, ut
{
in.reset(); // may not work...
- const int propMaxLineLength = properties().get <int>("maxlinelength", -1);
+ const int propMaxLineLength = getProperties().getProperty <int>("maxlinelength", -1);
const bool cutLines = (propMaxLineLength != -1);
const int maxLineLength = std::min(propMaxLineLength, 76);