Enhanced GnuPG key selection support.
[claws.git] / src / prefs_account.h
index f8c6a0dd626cb3c06c72c0234c0989136ea026a2..0881c7c36eaed52e0ebcf14f3d580d1287f5570a 100644 (file)
@@ -35,6 +35,14 @@ typedef enum {
        A_LOCAL
 } RecvProtocol;
 
+#if USE_GPGME
+typedef enum {
+       SIGN_KEY_DEFAULT,
+       SIGN_KEY_BY_FROM,
+       SIGN_KEY_CUSTOM
+} SignKeyType;
+#endif /* USE_GPGME */
+
 struct _PrefsAccount
 {
        gchar *account_name;
@@ -79,6 +87,12 @@ struct _PrefsAccount
        /* Compose */
        gchar *sig_path;
 
+#if USE_GPGME
+       /* Privacy */
+       SignKeyType sign_key;
+       gchar *sign_key_id;
+#endif /* USE_GPGME */
+
        /* Advanced */
        gboolean  set_smtpport;
        gushort   smtpport;