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

Contents of /mimetic/branches/upstream/current/mimetic/contenttransferencoding.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: 1640 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: contenttransferencoding.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_TRANSFER_ENCODING_H_
17 #define _MIMETIC_CONTENT_TRANSFER_ENCODING_H_
18 #include <string>
19 #include <mimetic/strutils.h>
20 #include <mimetic/rfc822/fieldvalue.h>
21
22 namespace mimetic
23 {
24
25
26 /// Content-Transfer-Encoding field value
27 struct ContentTransferEncoding: public FieldValue
28 {
29 static const char label[];
30 ContentTransferEncoding();
31 ContentTransferEncoding(const char*);
32 ContentTransferEncoding(const std::string&);
33 const istring& mechanism() const;
34 void mechanism(const std::string&);
35
36 void set(const std::string&);
37 std::string str() const;
38 protected:
39 FieldValue* clone() const;
40 private:
41 istring m_mechanism;
42 };
43
44 }
45
46 #endif
47

  ViewVC Help
Powered by ViewVC 1.1.26