aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-25 23:44:35 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-25 23:44:35 +0800
commit686273e70da67d8844344f0b8ccc592ca7e92f50 (patch)
treeba722c5e7437f5b50dc1ee9dfff7afa9948a448a /camel/camel-medium.h
parent6881fd1bf710f0ce0bd55f9975855bb23622077a (diff)
downloadgsoc2013-evolution-686273e70da67d8844344f0b8ccc592ca7e92f50.tar.gz
gsoc2013-evolution-686273e70da67d8844344f0b8ccc592ca7e92f50.tar.zst
gsoc2013-evolution-686273e70da67d8844344f0b8ccc592ca7e92f50.zip
these methods are in CamelMedium now.
1999-08-25 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-medium.c (_set_content_object): (_get_content_object): these methods are in CamelMedium now. Going to revamp MimePart soon so that it inherits from CamelMedium. svn path=/trunk/; revision=1141
Diffstat (limited to 'camel/camel-medium.h')
-rw-r--r--camel/camel-medium.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/camel-medium.h b/camel/camel-medium.h
index c35466336c..d39b5898ad 100644
--- a/camel/camel-medium.h
+++ b/camel/camel-medium.h
@@ -48,7 +48,6 @@ typedef struct
GHashTable *headers;
- GMimeContentField *content_type;
CamelDataWrapper *content; /* part real content */
} CamelMedium;
@@ -63,6 +62,9 @@ typedef struct {
void (*remove_header) (CamelMedium *medium, const gchar *header_name);
const gchar * (*get_header) (CamelMedium *medium, const gchar *header_name);
+ CamelDataWrapper * (*get_content_object) (CamelMedium *medium);
+ void (*set_content_object) (CamelMedium *medium, CamelDataWrapper *content);
+
} CamelMediumClass;
@@ -77,6 +79,8 @@ void camel_medium_remove_header (CamelMedium *medium, const gchar *header_name);
const gchar *camel_medium_get_header (CamelMedium *medium, const gchar *header_name);
+CamelDataWrapper *camel_medium_get_content_object (CamelMedium *medium);
+void camel_medium_set_content_object (CamelMedium *medium, CamelDataWrapper *content);
#ifdef __cplusplus