Files
gnucash/src/AdjBWindow.h
Dave Peticolas 8bc80497e1 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2089 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-03-19 10:23:16 +00:00

52 lines
2.4 KiB
C

/********************************************************************\
* AdjBWindow.h -- the adjust balance window *
* Copyright (C) 1997 Robin D. Clark *
* Copyright (C) 1998-2000 Linas Vepstas *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License*
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
* Author: Rob Clark *
* Internet: rclark@cs.hmc.edu *
* Address: 609 8th Street *
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
#ifndef __XACC_ADJBWINDOW_H__
#define __XACC_ADJBWINDOW_H__
#include "config.h"
#include "Account.h"
/*
* The adjBWindow() subroutine creates the "adjust-balance" dialog
* for the indicated account, if that dialog is not already mapped.
* If the dialog already esits, it returns with a no-op.
*
* The adjBRefresh() subroutine refreshes the associated window.
*
* The xaccDestroyAdjBWindow() subroutine can be called from
* anywhere to shut down the Register window. Used primarily when
* destroying the underlying account.
*/
typedef struct _AdjBWindow AdjBWindow;
AdjBWindow *adjBWindow(Account *account);
void adjBRefresh(Account *account);
void xaccDestroyAdjBWindow (Account *);
#endif /* __XACC_ADJBWINDOW_H__ */