aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-06-28 22:36:11 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-28 22:36:11 +0800
commit817f237398296dbdafc091d51a6fed2053a9c1c1 (patch)
treee5b08c4a07a052f67d286852b96daaaddb3c0840 /camel/camel-data-wrapper.h
parent0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3 (diff)
downloadgsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.gz
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.zst
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.zip
new field (content_type) and associated methods. (camel_mime_part_init):
1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.c: new field (content_type) and associated methods. (camel_mime_part_init): initialize content_type field. (_parse_header_pair): now set content_type MimePart field instead of using DataWrapper Mime typing facility. 1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-data-wrapper.h: s/content_type/mime_type/ 1 svn path=/trunk/; revision=1002
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index a0bb859f3b..d0881ebe6e 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -48,8 +48,7 @@ typedef struct
{
GtkObject parent_object;
- GMimeContentField *content_type;
-
+ GMimeContentField *mime_type;
} CamelDataWrapper;
@@ -60,8 +59,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);
+ void (*set_mime_type) (CamelDataWrapper *data_wrapper, GString *content_type);
+ GString * (*get_mime_type) (CamelDataWrapper *data_wrapper);
} CamelDataWrapperClass;
@@ -75,8 +74,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);
+void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type);
+static GString *camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper);
#ifdef __cplusplus
}