1 /*  HomeBank -- Free, easy, personal accounting for everyone.
2  *  Copyright (C) 1995-2021 Maxime DOYEN
3  *
4  *  This file is part of HomeBank.
5  *
6  *  HomeBank is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2 of the License, or
9  *  (at your option) any later version.
10  *
11  *  HomeBank is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __HB_DIALOGS_GTK_H__
21 #define __HB_DIALOGS_GTK_H__
22 
23 
24 
25 gint ui_dialog_msg_confirm_alert(GtkWindow *parent, gchar *title, gchar *secondtext, gchar *actionverb);
26 
27 gint ui_dialog_about(GtkWindow *parent, gchar *title, gchar *message_format, ...);
28 gint ui_dialog_msg_question(GtkWindow *parent, gchar *title, gchar *message_format, ...);
29 void ui_dialog_msg_infoerror(GtkWindow *parent, GtkMessageType type, gchar *title, gchar *message_format, ...);
30 gboolean ui_file_chooser_qif(GtkWindow *parent, gchar **storage_ptr);
31 gboolean ui_file_chooser_csv(GtkWindow *parent, GtkFileChooserAction action, gchar **storage_ptr, gchar *name);
32 gboolean ui_file_chooser_xhb(GtkFileChooserAction action, gchar **storage_ptr, gboolean bakmode);
33 gboolean ui_file_chooser_folder(GtkWindow *parent, gchar *title, gchar **storage_ptr);
34 
35 gint ui_dialog_export_csv(GtkWindow *parent, gchar **storage_ptr, gboolean *split, gboolean showall);
36 gint ui_dialog_export_pdf(GtkWindow *parent, gchar **storage_ptr);
37 
38 void ui_dialog_upgrade_choose_currency(void);
39 
40 gboolean ui_dialog_msg_savechanges(GtkWidget *widget, gpointer user_data);
41 
42 void ui_dialog_file_statistics(void);
43 
44 gint ui_dialog_transaction_xfer_select_child(GtkWindow *parent, Transaction *stxn, GList *matchlist, Transaction **child);
45 
46 #endif
47 
48