00001
00002
00003
00004
00005
00006
00007 #ifndef _MIMETIC_CONTENT_DESCRIPTION_H_
00008 #define _MIMETIC_CONTENT_DESCRIPTION_H_
00009 #include <string>
00010 #include <mimetic/rfc822/fieldvalue.h>
00011
00012 namespace mimetic
00013 {
00014
00015
00016 struct ContentDescription: public FieldValue
00017 {
00018 static const char label[];
00019 ContentDescription();
00020 ContentDescription(const char*);
00021 ContentDescription(const std::string&);
00022 void set(const std::string&);
00023 std::string str() const;
00024 protected:
00025 FieldValue* clone() const;
00026 private:
00027 std::string m_value;
00028 };
00029
00030 }
00031
00032 #endif
00033