aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-05-15 18:32:30 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-15 18:32:30 +0800
commit6c99eb2e0cbc6f383aac6d34aacaa8cbceb2600e (patch)
tree1bc9d2c64c2132cad3136063d85396d257d0e2d4 /camel/camel-mime-message.h
parent4b376c242cf019e5fec6889422b8d777ae7a480d (diff)
downloadgsoc2013-evolution-6c99eb2e0cbc6f383aac6d34aacaa8cbceb2600e.tar.gz
gsoc2013-evolution-6c99eb2e0cbc6f383aac6d34aacaa8cbceb2600e.tar.zst
gsoc2013-evolution-6c99eb2e0cbc6f383aac6d34aacaa8cbceb2600e.zip
flags handling methods
1999-05-15 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (*_flag): flags handling methods 1999-05-14 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-message.c (camel_mime_message_class_init): added recipient handling class funcs. svn path=/trunk/; revision=926
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r--camel/camel-mime-message.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h
index c81bbb4fc7..53cf269ea8 100644
--- a/camel/camel-mime-message.h
+++ b/camel/camel-mime-message.h
@@ -63,7 +63,8 @@ typedef struct
/* other fields */
GHashTable *flags; /* boolean values */
- gboolean expunged;
+ /* gboolean expunged;
+ Will be enabled if proves necessary in the future */
guint message_number; /* set by folder object when retrieving message */
CamelFolder *folder;
CamelSession *session;
@@ -88,6 +89,8 @@ typedef struct {
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 (*set_flag) (CamelMimeMessage *mime_message, GString *flag, gboolean value);
+ gboolean (*get_flag) (CamelMimeMessage *mime_message, GString *flag);
} CamelMimeMessageClass;
@@ -109,7 +112,12 @@ GString *get_subject (CamelMimeMessage *mime_message);
void set_from (CamelMimeMessage *mime_message, GString *from);
GString *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 set_flag (CamelMimeMessage *mime_message, GString *flag, gboolean value);
+gboolean get_flag (CamelMimeMessage *mime_message, GString *flag);
#ifdef __cplusplus