aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractPart.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-09-22 22:13:31 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-09-22 22:13:31 -0700
commitde2b44501bf3da0eed83905f44eed75059e9e401 (patch)
tree9b9029c69d07ba19a9257550a4ab79871819a312 /src/objc/abstract/MCOAbstractPart.h
parentc001526075610a35a05573da749b8ecdde3077ba (diff)
Simplified extra headers implementation and content-types parameters
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r--src/objc/abstract/MCOAbstractPart.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h
index e30f09bf..30dd8f5f 100644
--- a/src/objc/abstract/MCOAbstractPart.h
+++ b/src/objc/abstract/MCOAbstractPart.h
@@ -82,6 +82,18 @@ typedef NS_ENUM(NSInteger, MCOPartType) {
/** Returns a string representation of the data according to charset.*/
- (NSString *) decodedStringForData:(NSData *)data;
+/** Adds a content type parameter.*/
+- (void) setContentTypeParameterValue:(NSString *)value forName:(NSString *)name;
+
+/** Remove a given content type parameter.*/
+- (void) removeContentTypeParameterForName:(NSString *)name;
+
+/** Returns the value of a given content type parameter.*/
+- (NSString *) contentTypeParameterValueForName:(NSString *)name;
+
+/** Returns an array with the names of all content type parameters.*/
+- (NSArray * /* NSString */) allContentTypeParametersNames;
+
@end
#endif