summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp')
-rw-r--r--framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp b/framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp
index a44576b8..fb02945b 100644
--- a/framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp
+++ b/framework/src/domain/mimetreeparser/otp/bodypartformatterbasefactory.cpp
@@ -83,35 +83,6 @@ void BodyPartFormatterBaseFactoryPrivate::insert(const char *type, const char *s
83 subtype_reg.insert(std::make_pair(subtype, formatter)); 83 subtype_reg.insert(std::make_pair(subtype, formatter));
84} 84}
85 85
86void BodyPartFormatterBaseFactoryPrivate::messageviewer_create_builtin_bodypart_formatters()
87{
88 //FIXME defined in bodypartformatter.cpp
89 // insert("application", "octet-stream", AnyTypeBodyPartFormatter::create());
90 // insert("application", "pgp", ApplicationPgpBodyPartFormatter::create());
91 // insert("application", "pkcs7-mime", ApplicationPkcs7MimeBodyPartFormatter::create());
92 // insert("application", "x-pkcs7-mime", ApplicationPkcs7MimeBodyPartFormatter::create());
93 // insert("application", "pgp-encrypted", ApplicationPGPEncryptedBodyPartFormatter::create());
94 // insert("application", "*", AnyTypeBodyPartFormatter::create());
95
96 // insert("text", "html", TextHtmlBodyPartFormatter::create());
97 // insert("text", "rtf", AnyTypeBodyPartFormatter::create());
98 // insert("text", "plain", MailmanBodyPartFormatter::create());
99 // insert("text", "plain", TextPlainBodyPartFormatter::create());
100 // insert("text", "*", MailmanBodyPartFormatter::create());
101 // insert("text", "*", TextPlainBodyPartFormatter::create());
102
103 // insert("image", "*", ImageTypeBodyPartFormatter::create());
104
105 // insert("message", "rfc822", MessageRfc822BodyPartFormatter::create());
106 // insert("message", "*", AnyTypeBodyPartFormatter::create());
107
108 // insert("multipart", "alternative", MultiPartAlternativeBodyPartFormatter::create());
109 // insert("multipart", "encrypted", MultiPartEncryptedBodyPartFormatter::create());
110 // insert("multipart", "signed", MultiPartSignedBodyPartFormatter::create());
111 // insert("multipart", "*", MultiPartMixedBodyPartFormatter::create());
112 // insert("*", "*", AnyTypeBodyPartFormatter::create());
113}
114
115BodyPartFormatterBaseFactory::BodyPartFormatterBaseFactory() 86BodyPartFormatterBaseFactory::BodyPartFormatterBaseFactory()
116 : d(new BodyPartFormatterBaseFactoryPrivate(this)) 87 : d(new BodyPartFormatterBaseFactoryPrivate(this))
117{ 88{