Move the reply calendar method from ui actions to plugin ui actions
[modest] / src / modest-plugin-ui-actions.h
index 301a047..b53cc3e 100644 (file)
@@ -64,5 +64,19 @@ gboolean modest_ui_actions_on_delete_account (GtkWindow *parent_window,
  */
 void
 modest_ui_actions_on_reload_message (const gchar *msg_id);
+
+/**
+ * modest_ui_actions_reply_calendar:
+ * @win: parent #ModestWindow
+ * @msg: original #TnyMsg
+ * @header_pairs: #TnyList of #TnyPair of header pairs
+ *
+ * this method opens the mail composer with a reply of a message with calendar
+ * allowing to add @header_pairs with the result of the calendar request.
+ */
+void
+modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *header_pairs);
+
+
 G_END_DECLS
 #endif /* __MODEST_PLUGIN_UI_ACTIONS_H__ */