GnuCash  5.6-150-g038405b370+
dialog-sx-since-last-run.h
1 /********************************************************************\
2  * dialog-sx-since-last-run.h : dialog for scheduled transaction *
3  * since-last-run processing. *
4  * Copyright (C) 2006 Joshua Sled <jsled@asynchronous.org> *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of version 2 and/or version 3 of the *
8  * GNU General Public License as published by the Free Software *
9  * Foundation. *
10  * *
11  * This program 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, contact: *
18  * *
19  * Free Software Foundation Voice: +1-617-542-5942 *
20  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21  * Boston, MA 02110-1301, USA gnu@gnu.org *
22 \********************************************************************/
23 
24 #ifndef DIALOG_SX_SINCE_LAST_RUN_H
25 #define DIALOG_SX_SINCE_LAST_RUN_H
26 
27 #include <config.h>
28 
29 #include <gtk/gtk.h>
30 
31 #include "gnc-sx-instance-model.h"
32 #include "gnc-plugin-page-sx-list.h"
33 
34 #define GNC_PREFS_GROUP_STARTUP "dialogs.sxs.since-last-run"
35 #define GNC_PREF_RUN_AT_FOPEN "show-at-file-open"
36 #define GNC_PREF_SHOW_AT_FOPEN "show-notify-window-at-file-open"
37 
38 typedef struct _GncSxSlrTreeModelAdapter GncSxSlrTreeModelAdapter;
39 typedef struct _GncSxSinceLastRunDialog GncSxSinceLastRunDialog;
40 
45 void gnc_sx_sxsincelast_book_opened (void);
46 
50 GncSxSinceLastRunDialog* gnc_ui_sx_since_last_run_dialog (GtkWindow *parent,
51  GncSxInstanceModel *sx_instances,
52  GList *auto_created_txn_guids);
53 
54 void gnc_ui_sx_creation_error_dialog (GList **creation_errors);
55 
56 #endif