diff options
author | Vincent Richard <[email protected]> | 2009-11-04 14:12:06 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2009-11-04 14:12:06 +0000 |
commit | b0fbd0edf051e34db58864179cc13d37f8a56e1f (patch) | |
tree | 468c6f84d929e351d729894891e027c9876bd7bc /src/word.cpp | |
parent | Removed some unnecessary consts on integral types where overrides conflict. A... (diff) | |
download | vmime-b0fbd0edf051e34db58864179cc13d37f8a56e1f.tar.gz vmime-b0fbd0edf051e34db58864179cc13d37f8a56e1f.zip |
Auto-detect filename. Renamed 'filename' argument to 'filepath' for disambiguity. Added constructor for input stream. Use 'word' instead of 'string' for filename.
Diffstat (limited to 'src/word.cpp')
-rw-r--r-- | src/word.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/word.cpp b/src/word.cpp index 958c33e7..ce5ddfcc 100644 --- a/src/word.cpp +++ b/src/word.cpp @@ -699,6 +699,12 @@ string& word::getBuffer() } +bool word::isEmpty() const +{ + return m_buffer.empty(); +} + + void word::setBuffer(const string& buffer) { m_buffer = buffer; |