diff options
| author | Vincent Richard <[email protected]> | 2004-10-21 17:05:47 +0200 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-10-21 17:05:47 +0200 |
| commit | 2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch) | |
| tree | 991edcf50483116ce83977a4d9e652de8c5328dc /src/options.hpp | |
| parent | header class unit tests added (diff) | |
| download | vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip | |
Refactoring (see ChangeLog).
Diffstat (limited to 'src/options.hpp')
| -rw-r--r-- | src/options.hpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/options.hpp b/src/options.hpp index bfc2f243..a3b9c051 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -63,26 +63,22 @@ protected: */ class multipartOptions { - protected: + private: friend class options; - multipartOptions() - : m_prologText("This is a multi-part message in MIME format. Your mail reader does not understand MIME message format."), - m_epilogText("") - { - } + multipartOptions(); string m_prologText; string m_epilogText; public: - const string& prologText() const { return (m_prologText); } - string& prologText() { return (m_prologText); } + const string& getPrologText() const; + void setPrologText(const string& prologText); - const string& epilogText() const { return (m_epilogText); } - string& epilogText() { return (m_epilogText); } + const string& getEpilogText() const; + void setEpilogText(const string& epilogText); }; public: |
