1 /********************************************************************\
2  * window-reconcile2.h -- the reconcile window                      *
3  * Copyright (C) 1997 Robin D. Clark                                *
4  * Copyright (C) 1998-2000 Linas Vepstas                            *
5  *                                                                  *
6  * This program is free software; you can redistribute it and/or    *
7  * modify it under the terms of the GNU General Public License as   *
8  * published by the Free Software Foundation; either version 2 of   *
9  * the License, or (at your option) any later version.              *
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 WINDOW_RECONCILE2_H
25 #define WINDOW_RECONCILE2_H
26 
27 #include "Account.h"
28 #include <gtk/gtk.h>
29 
30 
31 /** STRUCTS *********************************************************/
32 typedef struct _RecnWindow2 RecnWindow2;
33 
34 
35 /** PROTOTYPES ******************************************************/
36 
37 /********************************************************************\
38  * recnWindow2                                                       *
39  *   opens up the window to reconcile an account                    *
40  *                                                                  *
41  * Args:   parent  - the parent of this window                      *
42  *         account - the account to reconcile                       *
43  *
44  * Return: recnData - the instance of this RecnWindow2, or NULL if the
45  * user pressed Cancel in the initial date query.
46 \********************************************************************/
47 RecnWindow2 *recnWindow2 (GtkWidget *parent, Account *account);
48 
49 /********************************************************************\
50  * recnWindow2WithBalance
51  *
52  *   Opens up the window to reconcile an account, but with ending
53  *   balance and statement date already given.
54  *
55  * Args:   parent         - The parent widget of the new window
56  *         account        - The account to reconcile
57  *         new_ending     - The amount for ending balance
58  *         statement_date - The date of the statement
59  * Return: recnData - the instance of this RecnWindow2
60 \********************************************************************/
61 RecnWindow2 *recnWindow2WithBalance (GtkWidget *parent,
62                                    Account *account,
63                                    gnc_numeric new_ending,
64                                    time64 statement_date);
65 
66 void gnc_ui_reconcile_window2_raise (RecnWindow2 * recnData);
67 
68 #endif /* WINDOW_RECONCILE2_H */
69