Use selected text on reply/forward.
[claws.git] / src / compose.h
index e186c865d764c065fc645fb7c8ebd12f7920f355..169a3e4a3ce4087a59eea2a3d5e2391814c977c7 100644 (file)
@@ -61,6 +61,7 @@ typedef enum
        COMPOSE_REPLY_TO_ALL_WITHOUT_QUOTE,
        COMPOSE_FORWARD,
        COMPOSE_FORWARD_AS_ATTACH,
+       COMPOSE_FORWARD_INLINE,
        COMPOSE_BOUNCE,
        COMPOSE_NEW,
        COMPOSE_REEDIT
@@ -182,14 +183,14 @@ struct _Compose
        PrefsAccount *account;
        PrefsAccount *orig_account;
 
+       UndoMain *undostruct;
+
        /* external editor */
        gchar *exteditor_file;
        pid_t  exteditor_pid;
        gint   exteditor_readdes;
        gint   exteditor_tag;
 
-       UndoMain *undostruct;
-
 #if USE_PSPELL
         /* Pspell spell checker */
         GtkPspell *gtkpspell;
@@ -218,14 +219,17 @@ Compose *compose_new_with_folderitem      (PrefsAccount   *account,
 void compose_followup_and_reply_to     (MsgInfo        *msginfo,
                                         gboolean        quote,
                                         gboolean        to_all,
-                                        gboolean        ignore_replyto);
+                                        gboolean        ignore_replyto,
+                                        const gchar    *seltext);
 void compose_reply                     (MsgInfo        *msginfo,
                                         gboolean        quote,
                                         gboolean        to_all,
-                                        gboolean        ignore_replyto);
+                                        gboolean        ignore_replyto,
+                                        const gchar    *seltext);
 Compose *compose_forward               (PrefsAccount *account,
                                         MsgInfo        *msginfo,
-                                        gboolean        as_attach);
+                                        gboolean        as_attach,
+                                        const gchar    *seltext);
 Compose *compose_forward_multiple      (PrefsAccount   *account, 
                                         GSList         *msginfo_list);
 Compose *compose_bounce                        (PrefsAccount   *account,