* src/gnome-utils/dialog-exchange.h -- header for the exchange-rate dialog

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7568 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-11-29 16:07:17 +00:00
parent 116ee4130b
commit 6488f2a402
2 changed files with 49 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2002-11-29 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-exchange.h -- header for the exchange-rate dialog
2002-11-28 Christian Stimming <stimming@tuhh.de>
* src/import-export/gnc-gen-transaction.c: Use add_threshold

View File

@ -0,0 +1,46 @@
/********************************************************************
* dialog-exchange.h -- Dialog to enter exchange rates *
* *
* Copyright (C) 2002 Derek Atkins <derek@ihtfp.com> *
* *
* 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, contact: *
* *
* Free Software Foundation Voice: +1-617-542-5942 *
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
* Boston, MA 02111-1307, USA gnu@gnu.org *
********************************************************************/
#ifndef GNC_DIALOG_EXCHANGE_H
#define GNC_DIALOG_EXCHANGE_H
#include "gnc-pricedb.h"
#include "gnc-commodity.h"
#include "gnc-numeric.h"
#include "date.h"
typedef struct _exchange_window ExchangeDialog;
void gnc_ui_exchange_dialog_destroy (ExchangeDialog * w);
/* Create a dialog to enter an exchange rate. Looks in the pricedb
* for entries; stores entries in the pricedb.
*/
ExchangeDialog *
gnc_ui_exchange_dialog_full (GNCPriceDB * pricedb,
gnc_numeric amount,
gnc_commodity * from,
gnc_commodity * to,
Timespec date);
#endif /* GNC_DIALOG_EXCHANGE_H */