aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr>1999-05-11 14:51:49 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-11 14:51:49 +0800
commit4ad2c4bf87f1117c9acdec61e2306111292b22d7 (patch)
tree7d2603a3fddde25880db961aaa95e93b6ddc4c5e /camel/camel-mime-part.h
parent88f5b33f67bfe54a668bed1dfe203451eba7e027 (diff)
downloadgsoc2013-evolution-4ad2c4bf87f1117c9acdec61e2306111292b22d7.tar.gz
gsoc2013-evolution-4ad2c4bf87f1117c9acdec61e2306111292b22d7.tar.zst
gsoc2013-evolution-4ad2c4bf87f1117c9acdec61e2306111292b22d7.zip
implemented public interfaces
1999-05-11 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.h: implemented public interfaces svn path=/trunk/; revision=901
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index 17714e9191..d72d6c5356 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -65,6 +65,25 @@ typedef struct {
CamelDataWrapperClass parent_class;
/* Virtual methods */
+ void (*add_header) (CamelMimePart *mime_part, GString *header_name, GString *header_value);
+ void (*remove_header) (CamelMimePart *mime_part, GString *header_name);
+ GString * (*get_header) (CamelMimePart *mime_part, GString *header_name);
+ void (*set_description) (CamelMimePart *mime_part, GString *description);
+ GString * (*get_description) (CamelMimePart *mime_part);
+ void (*set_disposition) (CamelMimePart *mime_part, GString *disposition);
+ GString * (*get_disposition) (CamelMimePart *mime_part);
+ void (*set_filename) (CamelMimePart *mime_part, GString *filename);
+ GString * (*get_filename) (CamelMimePart *mime_part);
+ void (*set_content_id) (CamelMimePart *mime_part, GString *content_id);
+ GString * (*get_content_id) (CamelMimePart *mime_part);
+ void (*set_content_MD5) (CamelMimePart *mime_part, GString *content_MD5);
+ GString * (*get_content_MD5) (CamelMimePart *mime_part);
+ void (*set_encoding) (CamelMimePart *mime_part, GString *encoding);
+ GString * (*get_encoding) (CamelMimePart *mime_part);
+ void (*set_content_languages) (CamelMimePart *mime_part, GList *content_languages);
+ GList * (*get_content_languages) (CamelMimePart *mime_part);
+ void (*set_header_lines) (CamelMimePart *mime_part, GList *header_lines);
+ GList * (*get_header_lines) (CamelMimePart *mime_part);
} CamelMimePartClass;
@@ -75,6 +94,23 @@ GtkType camel_mime_part_get_type (void);
/* public methods */
+void camel_mime_part_add_header (CamelMimePart *mime_part, GString *header_name, GString *header_value);
+void camel_mime_part_remove_header (CamelMimePart *mime_part, GString *header_name);
+GString *camel_mime_part_get_header (CamelMimePart *mime_part, GString *header_name);
+void camel_mime_part_set_description (CamelMimePart *mime_part, GString *description);
+GString *camel_mime_part_get_description (CamelMimePart *mime_part);
+void camel_mime_part_set_disposition (CamelMimePart *mime_part, GString *disposition);
+GString *camel_mime_part_get_disposition (CamelMimePart *mime_part);
+void camel_mime_part_set_filename (CamelMimePart *mime_part, GString *filename);
+GString *camel_mime_part_get_filename (CamelMimePart *mime_part);
+GString *camel_mime_part_get_content_id (CamelMimePart *mime_part);
+GString *camel_mime_part_get_content_MD5 (CamelMimePart *mime_part);
+void camel_mime_part_set_encoding (CamelMimePart *mime_part, GString *encoding);
+GString *camel_mime_part_get_encoding (CamelMimePart *mime_part);
+void camel_mime_part_set_content_languages (CamelMimePart *mime_part, GList *content_languages);
+GList *camel_mime_part_get_content_languages (CamelMimePart *mime_part);
+void camel_mime_part_set_header_lines (CamelMimePart *mime_part, GList *header_lines);
+GList *camel_mime_part_get_header_lines (CamelMimePart *mime_part);
#ifdef __cplusplus
}