diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-05-10 20:29:25 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-05-10 20:29:25 +0200 |
commit | a03f480ed4f9fe276384e2105ffd4c1bde628c77 (patch) | |
tree | 684d91f3ad3138b7fbc86339cad00e0b3b77932b | |
parent | 7f97a0781ebd3309809f67a12bb64f8a3655bc7a (diff) | |
download | serial-barcode-scanner-a03f480ed4f9fe276384e2105ffd4c1bde628c77.tar.bz2 |
external mail interface should not depend on GMime
-rw-r--r-- | src/mail/mailer-interface.vala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mail/mailer-interface.vala b/src/mail/mailer-interface.vala index 43ce244..54b4865 100644 --- a/src/mail/mailer-interface.vala +++ b/src/mail/mailer-interface.vala @@ -28,7 +28,7 @@ public interface Mail : Object { public abstract string reply_to { owned get; set; } public abstract MailDate date { owned get; set; } - public abstract void add_recipient(MailContact contact, GMime.RecipientType type = GMime.RecipientType.TO) throws IOError; + public abstract void add_recipient(MailContact contact, RecipientType type = RecipientType.TO) throws IOError; public abstract void set_main_part(string text, MessageType type = MessageType.PLAIN) throws IOError; public abstract void add_attachment(string filename, string content_type, uint8[] data) throws IOError; } @@ -58,3 +58,9 @@ public enum MessageType { PLAIN, HTML } + +public enum RecipientType { + TO, + CC, + BCC +} |