20 #ifndef KMIME_HEADERS_P_H
21 #define KMIME_HEADERS_P_H
25 #define kmime_mk_empty_private( subclass, base ) \
26 class subclass##Private : public base##Private {};
35 BasePrivate() : parent( 0 ) {}
37 virtual ~BasePrivate() {}
45 class UnstructuredPrivate :
public BasePrivate
51 kmime_mk_empty_private( Structured, Base )
52 kmime_mk_empty_private( Address, Structured )
54 class MailboxListPrivate : public AddressPrivate
60 kmime_mk_empty_private( SingleMailbox, MailboxList )
62 class AddressListPrivate : public AddressPrivate
68 class IdentPrivate :
public AddressPrivate
75 kmime_mk_empty_private( SingleIdent, Ident )
77 class TokenPrivate : public StructuredPrivate
83 class PhraseListPrivate :
public StructuredPrivate
89 class DotAtomPrivate :
public StructuredPrivate
95 class ParametrizedPrivate :
public StructuredPrivate
103 class ReturnPathPrivate :
public Generics::AddressPrivate
106 Types::Mailbox mailbox;
109 class MailCopiesToPrivate :
public Generics::AddressListPrivate
116 class ContentTransferEncodingPrivate :
public Generics::TokenPrivate
123 class ContentTypePrivate :
public Generics::ParametrizedPrivate
127 contentCategory category;
130 class ContentDispositionPrivate :
public Generics::ParametrizedPrivate
133 contentDisposition disposition;
136 class GenericPrivate :
public Generics::UnstructuredPrivate
139 GenericPrivate() : type( 0 ) {}
148 class ControlPrivate :
public Generics::StructuredPrivate
155 class DatePrivate :
public Generics::StructuredPrivate
161 class NewsgroupsPrivate :
public Generics::StructuredPrivate
167 class LinesPrivate :
public Generics::StructuredPrivate
173 kmime_mk_empty_private( ContentID, Generics::SingleIdent )
178 #undef kmime_mk_empty_private
A class that encapsulates MIME encoded Content.