diff options
Diffstat (limited to 'src/disposition.hpp')
-rw-r--r-- | src/disposition.hpp | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/disposition.hpp b/src/disposition.hpp index c994a723..4ca2fe92 100644 --- a/src/disposition.hpp +++ b/src/disposition.hpp @@ -40,20 +40,32 @@ public: disposition(const string& name); disposition(const disposition& disp); -public: - const string& name() const { return (m_name); } - string& name() { return (m_name); } + /** Return the disposition type. + * See the constants in vmime::dispositionTypes. + * + * @return name of the encoding (eg. "inline") + */ + const string& getName() const; + + /** Set the disposition type. + * See the constants in vmime::dispositionTypes. + * + * @param name name of the encoding + */ + void setName(const string& name); + + disposition* clone() const; + void copyFrom(const component& other); + disposition& operator=(const disposition& other); -public: - disposition& operator=(const disposition& source); disposition& operator=(const string& name); const bool operator==(const disposition& value) const; const bool operator!=(const disposition& value) const; -protected: +private: string m_name; |