aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-17 05:52:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-17 05:52:49 +0800
commit1849ce6cd24bf6d57dca4e34207e231fd03d8c02 (patch)
treebb7bb9ddf55a73c71efca0fb5bba8f961709bc2c /composer/e-msg-composer.h
parent7031a911d71eb1f527f8ff9336f050679a7b74f9 (diff)
downloadgsoc2013-evolution-1849ce6cd24bf6d57dca4e34207e231fd03d8c02.tar.gz
gsoc2013-evolution-1849ce6cd24bf6d57dca4e34207e231fd03d8c02.tar.zst
gsoc2013-evolution-1849ce6cd24bf6d57dca4e34207e231fd03d8c02.zip
Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.
2001-05-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt. (e_msg_composer_get_smime_encrypt): new (e_msg_composer_set_smime_encrypt): new (e_msg_composer_get_smime_sign): new (e_msg_composer_set_smime_sign): new (menu_security_smime_sign_cb): new (menu_security_smime_encrypt_cb): new (setup_ui): Setup the UI for S/MIME stuff. svn path=/trunk/; revision=9858
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h39
1 files changed, 25 insertions, 14 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 68aae2cc73..7f0db7e16b 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -76,15 +76,17 @@ struct _EMsgComposer {
char *sig_file;
gboolean attachment_bar_visible : 1;
- gboolean send_html : 1;
- gboolean pgp_sign : 1;
- gboolean pgp_encrypt : 1;
- gboolean view_from : 1;
- gboolean view_replyto : 1;
- gboolean view_bcc : 1;
- gboolean view_cc : 1;
- gboolean view_subject : 1;
- gboolean has_changed : 1;
+ gboolean send_html : 1;
+ gboolean pgp_sign : 1;
+ gboolean pgp_encrypt : 1;
+ gboolean smime_sign : 1;
+ gboolean smime_encrypt : 1;
+ gboolean view_from : 1;
+ gboolean view_replyto : 1;
+ gboolean view_bcc : 1;
+ gboolean view_cc : 1;
+ gboolean view_subject : 1;
+ gboolean has_changed : 1;
gboolean in_signature_insert : 1;
};
@@ -143,6 +145,13 @@ void e_msg_composer_set_view_cc (EMsgComposer *compose
const MailConfigAccount *e_msg_composer_get_preferred_account (EMsgComposer *composer);
+void e_msg_composer_clear_inlined_table (EMsgComposer *composer);
+gchar * e_msg_composer_guess_mime_type (const gchar *file_name);
+
+void e_msg_composer_set_changed (EMsgComposer *composer);
+void e_msg_composer_unset_changed (EMsgComposer *composer);
+
+/* PGP */
void e_msg_composer_set_pgp_sign (EMsgComposer *composer,
gboolean pgp_sign);
gboolean e_msg_composer_get_pgp_sign (EMsgComposer *composer);
@@ -150,11 +159,13 @@ void e_msg_composer_set_pgp_encrypt (EMsgComposer *compose
gboolean pgp_encrypt);
gboolean e_msg_composer_get_pgp_encrypt (EMsgComposer *composer);
-void e_msg_composer_clear_inlined_table (EMsgComposer *composer);
-gchar * e_msg_composer_guess_mime_type (const gchar *file_name);
-
-void e_msg_composer_set_changed (EMsgComposer *composer);
-void e_msg_composer_unset_changed (EMsgComposer *composer);
+/* S/MIME */
+void e_msg_composer_set_smime_sign (EMsgComposer *composer,
+ gboolean smime_sign);
+gboolean e_msg_composer_get_smime_sign (EMsgComposer *composer);
+void e_msg_composer_set_smime_encrypt (EMsgComposer *composer,
+ gboolean smime_encrypt);
+gboolean e_msg_composer_get_smime_encrypt (EMsgComposer *composer);
#ifdef __cplusplus
}