GnuCash 2.4.99
window-reconcile.h
00001 /********************************************************************\
00002  * window-reconcile.h -- the reconcile window                       *
00003  * Copyright (C) 1997 Robin D. Clark                                *
00004  * Copyright (C) 1998-2000 Linas Vepstas                            *
00005  *                                                                  *
00006  * This program is free software; you can redistribute it and/or    *
00007  * modify it under the terms of the GNU General Public License as   *
00008  * published by the Free Software Foundation; either version 2 of   *
00009  * the License, or (at your option) any later version.              *
00010  *                                                                  *
00011  * This program is distributed in the hope that it will be useful,  *
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00014  * GNU General Public License for more details.                     *
00015  *                                                                  *
00016  * You should have received a copy of the GNU General Public License*
00017  * along with this program; if not, contact:                        *
00018  *                                                                  *
00019  * Free Software Foundation           Voice:  +1-617-542-5942       *
00020  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00021  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00022 \********************************************************************/
00023 
00024 #ifndef WINDOW_RECONCILE_H
00025 #define WINDOW_RECONCILE_H
00026 
00027 #include "Account.h"
00028 #include <gtk/gtk.h>
00029 
00030 
00032 typedef struct _RecnWindow RecnWindow;
00033 
00034 
00037 /********************************************************************\
00038  * recnWindow                                                       *
00039  *   opens up the window to reconcile an account                    *
00040  *                                                                  *
00041  * Args:   parent  - the parent of this window                      *
00042  *         account - the account to reconcile                       *
00043  *
00044  * Return: recnData - the instance of this RecnWindow, or NULL if the
00045  * user pressed Cancel in the initial date query.
00046 \********************************************************************/
00047 RecnWindow *recnWindow (GtkWidget *parent, Account *account);
00048 
00049 /********************************************************************\
00050  * recnWindowWithBalance
00051  *
00052  *   Opens up the window to reconcile an account, but with ending
00053  *   balance and statement date already given.
00054  *
00055  * Args:   parent         - The parent widget of the new window
00056  *         account        - The account to reconcile
00057  *         new_ending     - The amount for ending balance
00058  *         statement_date - The date of the statement
00059  * Return: recnData - the instance of this RecnWindow
00060 \********************************************************************/
00061 RecnWindow *recnWindowWithBalance (GtkWidget *parent,
00062                                    Account *account,
00063                                    gnc_numeric new_ending,
00064                                    time_t statement_date);
00065 
00066 void gnc_ui_reconcile_window_raise(RecnWindow * recnData);
00067 
00068 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines