diff options
author | bertrand <Bertrand.Guiheneuf@inria.fr> | 1999-05-20 04:24:23 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-05-20 04:24:23 +0800 |
commit | 429847f57bdfa7955db50ea9fc9e2cecdb5ab081 (patch) | |
tree | 3d842ec76936eb21007a36a522d9b23d84401d33 /camel/camel-mime-message.h | |
parent | f53eb88c5682c59e0e26e9a6e594566fd628e486 (diff) | |
download | gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.gz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.bz2 gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.lz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.xz gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.tar.zst gsoc2013-evolution-429847f57bdfa7955db50ea9fc9e2cecdb5ab081.zip |
test if content exists before calling its write_to method.
1999-05-19 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-mime-part.c (_write_to_file): test if content
exists before calling its write_to method.
* camel/camel-mime-message.c (_write_to_file): bugs fix.
First test of mime_message framework.
svn path=/trunk/; revision=934
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r-- | camel/camel-mime-message.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h index d582841e4f..6bb0a789b9 100644 --- a/camel/camel-mime-message.h +++ b/camel/camel-mime-message.h @@ -47,7 +47,7 @@ extern "C" { typedef struct { - CamelMimePart *parent_class; + CamelMimePart parent_object; /* header fields */ GString *received_date; @@ -74,7 +74,7 @@ typedef struct typedef struct { - CamelDataWrapperClass parent_class; + CamelMimePartClass parent_class; /* Virtual methods */ void (*set_received_date) (CamelMimeMessage *mime_message, GString *received_date); @@ -106,25 +106,24 @@ GtkType camel_mime_message_get_type (void); /* public methods */ CamelMimeMessage *camel_mime_message_new_with_session (CamelSession *session); -void set_received_date (CamelMimeMessage *mime_message, GString *received_date); -GString *get_received_date (CamelMimeMessage *mime_message); -GString *get_sent_date (CamelMimeMessage *mime_message); -void set_reply_to (CamelMimeMessage *mime_message, GString *reply_to); -GString *get_reply_to (CamelMimeMessage *mime_message); -void set_subject (CamelMimeMessage *mime_message, GString *subject); -GString *get_subject (CamelMimeMessage *mime_message); -void set_from (CamelMimeMessage *mime_message, GString *from); -GString *get_from (CamelMimeMessage *mime_message); +void camel_mime_message_set_received_date (CamelMimeMessage *mime_message, GString *received_date); +GString *camel_mime_message_get_received_date (CamelMimeMessage *mime_message); +GString *camel_mime_message_get_sent_date (CamelMimeMessage *mime_message); +void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message, GString *reply_to); +GString *camel_mime_message_get_reply_to (CamelMimeMessage *mime_message); +void camel_mime_message_set_subject (CamelMimeMessage *mime_message, GString *subject); +GString *camel_mime_message_get_subject (CamelMimeMessage *mime_message); +void camel_mime_message_set_from (CamelMimeMessage *mime_message, GString *from); +GString *camel_mime_message_get_from (CamelMimeMessage *mime_message); -void add_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient); -void remove_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient); -GList *get_recipients (CamelMimeMessage *mime_message, GString *recipient_type); +void camel_mime_message_add_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient); +void camel_mime_message_remove_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient); +GList *camel_mime_message_get_recipients (CamelMimeMessage *mime_message, GString *recipient_type); -void set_flag (CamelMimeMessage *mime_message, GString *flag, gboolean value); -gboolean get_flag (CamelMimeMessage *mime_message, GString *flag); - -guint get_message_number (CamelMimeMessage *mime_message); +void camel_mime_message_set_flag (CamelMimeMessage *mime_message, GString *flag, gboolean value); +gboolean camel_mime_message_get_flag (CamelMimeMessage *mime_message, GString *flag); +guint camel_mime_message_get_message_number (CamelMimeMessage *mime_message); #ifdef __cplusplus } |