From ed2239e4a50cea682f33fc663d828b1d9d6edce9 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 15 May 2000 02:11:13 +0000 Subject: [PATCH] reorder some stuff git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2323 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Group.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/engine/Group.h b/src/engine/Group.h index c17e5ebe5a..055964cea4 100644 --- a/src/engine/Group.h +++ b/src/engine/Group.h @@ -108,6 +108,7 @@ void xaccInsertSubAccount( Account *parent, Account *child ); int xaccGetNumAccounts (AccountGroup *grp); int xaccGroupGetNumAccounts (AccountGroup *grp); int xaccGroupGetDepth (AccountGroup *grp); +Account * xaccGroupGetAccount (AccountGroup *, int); /* * The xaccGetAccounts() subroutine returns an array containing @@ -184,20 +185,6 @@ double xaccGroupGetBalance (AccountGroup *); AccountGroup * xaccGetAccountRoot (Account *); -/* The xaccConsolidateGrpTrans() subroutine scans through - * all of the transactions in an account, and compares them. - * if any of them are exact duplicates, the duplicates are removed. - * duplicates may occur when accounts from multiple sources are - * merged. Note that this can be a dangerous operation to perform - * - * Note that this subroutine merely walks the account group - * tree, and calls ConsolidateTransacations on each account - */ - -void xaccConsolidateGrpTransactions (AccountGroup *); - -Account * xaccGroupGetAccount (AccountGroup *, int); - /* The xaccGroupGetParentAccount() subroutine returns the parent * account of the group, or NULL. */ @@ -225,6 +212,18 @@ char * xaccAccountGetNextChildCode (Account *acc, int num_digits); void xaccGroupAutoCode (AccountGroup *grp, int num_digits); void xaccGroupDepthAutoCode (AccountGroup *grp); +/* The xaccConsolidateGrpTrans() subroutine scans through + * all of the transactions in an account, and compares them. + * if any of them are exact duplicates, the duplicates are removed. + * duplicates may occur when accounts from multiple sources are + * merged. Note that this can be a dangerous operation to perform + * + * Note that this subroutine merely walks the account group + * tree, and calls ConsolidateTransacations on each account + */ + +void xaccConsolidateGrpTransactions (AccountGroup *); + #ifndef SWIG /*