diff options
| author | Vincent Richard <[email protected]> | 2004-10-21 15:05:47 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-10-21 15:05:47 +0000 |
| commit | 2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch) | |
| tree | 991edcf50483116ce83977a4d9e652de8c5328dc /src/plainTextPart.hpp | |
| parent | header class unit tests added (diff) | |
| download | vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip | |
Refactoring (see ChangeLog).
Diffstat (limited to 'src/plainTextPart.hpp')
| -rw-r--r-- | src/plainTextPart.hpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/plainTextPart.hpp b/src/plainTextPart.hpp index 324d2203..ae5425c6 100644 --- a/src/plainTextPart.hpp +++ b/src/plainTextPart.hpp @@ -28,22 +28,25 @@ namespace vmime { +/** Text part of type 'text/plain'. + */ + class plainTextPart : public textPart { public: - const mediaType type() const; + const mediaType getType() const; - const class charset& charset() const { return (m_charset); } - class charset& charset() { return (m_charset); } + const charset& getCharset() const; + void setCharset(const charset& ch); - const contentHandler& text() const { return (m_text); } - contentHandler& text() { return (m_text); } + const contentHandler& getText() const; + void setText(const contentHandler& text); -protected: +private: contentHandler m_text; - class charset m_charset; + charset m_charset; const int getPartCount() const; |
