/[debian]/mimetic/branches/upstream/current/mimetic/contentdescription.h
ViewVC logotype

Contents of /mimetic/branches/upstream/current/mimetic/contentdescription.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 128 - (show annotations)
Sat Feb 25 16:49:20 2006 UTC (15 years, 5 months ago) by gregoa
File MIME type: text/plain
File size: 1483 byte(s)
[svn-inject] Installing original source of mimetic
1 /***************************************************************************
2 copyright : (C) 2002-2005 by Stefano Barbato
3 email : stefano@codesink.org
4
5 $Id: contentdescription.h,v 1.11 2005/02/23 10:26:14 tat Exp $
6 ***************************************************************************/
7
8 /***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 #ifndef _MIMETIC_CONTENT_DESCRIPTION_H_
17 #define _MIMETIC_CONTENT_DESCRIPTION_H_
18 #include <string>
19 #include <mimetic/rfc822/fieldvalue.h>
20
21 namespace mimetic
22 {
23
24 /// Content-Description field value
25 struct ContentDescription: public FieldValue
26 {
27 static const char label[];
28 ContentDescription();
29 ContentDescription(const char*);
30 ContentDescription(const std::string&);
31 void set(const std::string&);
32 std::string str() const;
33 protected:
34 FieldValue* clone() const;
35 private:
36 std::string m_value;
37 };
38
39 }
40
41 #endif
42

  ViewVC Help
Powered by ViewVC 1.1.26