* src/register/ledger-core/split-register-p.h:

* src/register/ledger-core/split-register.h:
	  move handle_exchange() API from -p.h to .h to export it
	  for the menus to call.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7618 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-12-04 18:42:12 +00:00
parent ace48f6712
commit 9380dc52f0
3 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,10 @@
2002-12-04 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-p.h:
* src/register/ledger-core/split-register.h:
move handle_exchange() API from -p.h to .h to export it
for the menus to call.
2002-12-03 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-control.c:

View File

@ -166,13 +166,4 @@ gnc_numeric gnc_split_register_debcred_cell_value (SplitRegister *reg);
gboolean gnc_split_register_needs_conv_rate (Transaction *txn, Account *acc);
gnc_numeric gnc_split_register_get_conv_rate (Transaction *txn, Account *acc);
/* (maybe) pop up the exchange-rate dialog for the current split.
* if force_dialog is TRUE, the forces the dialog to to be called.
* If the dialog does not complete successfully, then return TRUE.
* Return FALSE in all other cases (meaning "move on")
*/
gboolean
gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog);
#endif

View File

@ -311,4 +311,12 @@ void gnc_copy_trans_onto_trans (Transaction *from, Transaction *to,
gboolean use_cut_semantics,
gboolean do_commit);
/* (maybe) pop up the exchange-rate dialog for the current split.
* if force_dialog is TRUE, the forces the dialog to to be called.
* If the dialog does not complete successfully, then return TRUE.
* Return FALSE in all other cases (meaning "move on")
*/
gboolean
gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog);
#endif