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

Contents of /mimetic/branches/upstream/current/mimetic/header.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: 2247 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: header.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_HEADER_H_
17 #define _MIMETIC_HEADER_H_
18 #include <string>
19 #include <algorithm>
20 #include <mimetic/rfc822/header.h>
21 #include <mimetic/mimeversion.h>
22 #include <mimetic/contenttype.h>
23 #include <mimetic/contentid.h>
24 #include <mimetic/contenttransferencoding.h>
25 #include <mimetic/contentdisposition.h>
26 #include <mimetic/contentdescription.h>
27
28 namespace mimetic
29 {
30
31 /// MIME message header class
32 struct Header: public Rfc822Header
33 {
34 const MimeVersion& mimeVersion() const;
35 MimeVersion& mimeVersion();
36 void mimeVersion(const MimeVersion&);
37
38 const ContentType& contentType() const;
39 ContentType& contentType();
40 void contentType(const ContentType&);
41
42 const ContentTransferEncoding& contentTransferEncoding() const;
43 ContentTransferEncoding& contentTransferEncoding();
44 void contentTransferEncoding(const ContentTransferEncoding&);
45
46 const ContentDisposition& contentDisposition() const;
47 ContentDisposition& contentDisposition();
48 void contentDisposition(const ContentDisposition&);
49
50 const ContentDescription& contentDescription() const;
51 ContentDescription& contentDescription();
52 void contentDescription(const ContentDescription&);
53
54 const ContentId& contentId() const;
55 ContentId& contentId();
56 void contentId(const ContentId&);
57 };
58
59 }
60
61 #endif

  ViewVC Help
Powered by ViewVC 1.1.26