GnuCash  5.6-150-g038405b370+
window-reconcile.h
1 /********************************************************************\
2  * window-reconcile.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_RECONCILE_H
25 #define WINDOW_RECONCILE_H
26 
27 #include "Account.h"
28 #include <gtk/gtk.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 
36 typedef struct _RecnWindow RecnWindow;
37 
38 
41 /********************************************************************\
42  * recnWindow *
43  * opens up the window to reconcile an account *
44  * *
45  * Args: parent - the parent of this window *
46  * account - the account to reconcile *
47  *
48  * Return: recnData - the instance of this RecnWindow, or NULL if the
49  * user pressed Cancel in the initial date query.
50 \********************************************************************/
51 RecnWindow *recnWindow (GtkWidget *parent, Account *account);
52 
53 /********************************************************************\
54  * recnWindowWithBalance
55  *
56  * Opens up the window to reconcile an account, but with ending
57  * balance and statement date already given.
58  *
59  * Args: parent - The parent widget of the new window
60  * account - The account to reconcile
61  * new_ending - The amount for ending balance
62  * statement_date - The date of the statement
63  * Return: recnData - the instance of this RecnWindow
64 \********************************************************************/
65 RecnWindow *recnWindowWithBalance (GtkWidget *parent, Account *account,
66  gnc_numeric new_ending,
67  time64 statement_date);
68 
69 void gnc_ui_reconcile_window_raise (RecnWindow * recnData);
70 
71 GtkWindow *gnc_ui_reconcile_window_get_window (RecnWindow * recnData);
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif /* WINDOW_RECONCILE_H */
STRUCTS.
Account handling public routines.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition: gnc-date.h:87