aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index a7b9dbbff1..a0bb859f3b 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -60,6 +60,8 @@ typedef struct {
/* Virtual methods */
void (*write_to_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream);
void (*construct_from_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size);
+ void (*set_content_type) (CamelDataWrapper *data_wrapper, GString *content_type);
+ GString * (*get_content_type) (CamelDataWrapper *data_wrapper);
} CamelDataWrapperClass;
@@ -73,6 +75,8 @@ GtkType camel_data_wrapper_get_type (void);
void camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size);
+void camel_data_wrapper_set_content_type (CamelDataWrapper *data_wrapper, GString *content_type);
+static GString *camel_data_wrapper_get_content_type (CamelDataWrapper *data_wrapper);
#ifdef __cplusplus
}