Codebase list mimetic / debian/0.9.8-6 mimetic / contentdescription.h
debian/0.9.8-6

Tree @debian/0.9.8-6 (Download .tar.gz)

contentdescription.h @debian/0.9.8-6raw · history · blame

/***************************************************************************
    copyright            : (C) 2002-2008 by Stefano Barbato
    email                : stefano@codesink.org

    $Id: contentdescription.h,v 1.12 2008-10-07 11:06:25 tat Exp $
 ***************************************************************************/
#ifndef _MIMETIC_CONTENT_DESCRIPTION_H_
#define _MIMETIC_CONTENT_DESCRIPTION_H_
#include <string>
#include <mimetic/rfc822/fieldvalue.h>

namespace mimetic
{

/// Content-Description field value
struct ContentDescription: public FieldValue
{
    static const char label[];
    ContentDescription();
    ContentDescription(const char*);
    ContentDescription(const std::string&);
    void set(const std::string&);
    std::string str() const;
protected:
    FieldValue* clone() const;
private:
    std::string m_value;
};

}

#endif