mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make xaccScrubUtilityGetOrMakeAccount static and remove ScrubP.h
It being the only declaration in ScrubP.h
This commit is contained in:
parent
80180c2ad9
commit
bcbebe62b1
@ -6,7 +6,6 @@ add_subdirectory(mocks)
|
||||
|
||||
set(engine_noinst_HEADERS
|
||||
AccountP.h
|
||||
ScrubP.h
|
||||
SplitP.h
|
||||
SX-book.h
|
||||
SX-ttinfo.h
|
||||
|
@ -47,7 +47,6 @@
|
||||
#include "Account.h"
|
||||
#include "AccountP.h"
|
||||
#include "Scrub.h"
|
||||
#include "ScrubP.h"
|
||||
#include "Transaction.h"
|
||||
#include "TransactionP.h"
|
||||
#include "gnc-commodity.h"
|
||||
@ -60,6 +59,13 @@ static QofLogModule log_module = G_LOG_DOMAIN;
|
||||
static gboolean abort_now = FALSE;
|
||||
static gint scrub_depth = 0;
|
||||
|
||||
|
||||
static Account* xaccScrubUtilityGetOrMakeAccount (Account *root,
|
||||
gnc_commodity* currency,
|
||||
const char* accname,
|
||||
GNCAccountType acctype,
|
||||
gboolean placeholder);
|
||||
|
||||
void
|
||||
gnc_set_abort_scrub (gboolean abort)
|
||||
{
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "Transaction.h"
|
||||
#include "TransactionP.h"
|
||||
#include "Scrub2.h"
|
||||
#include "ScrubP.h"
|
||||
#include "cap-gains.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "gncInvoice.h"
|
||||
|
@ -1,41 +0,0 @@
|
||||
/********************************************************************\
|
||||
* 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 *
|
||||
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
|
||||
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
||||
\********************************************************************/
|
||||
|
||||
/** @file ScrubP.h
|
||||
*
|
||||
* This is the *private* header for the scrub routines.
|
||||
* No one outside of the engine should ever include this file.
|
||||
*
|
||||
* Copyright (C) 2003, Linas Vepstas <linas@linas.org>
|
||||
*/
|
||||
|
||||
#ifndef XACC_SCRUB_P_H
|
||||
#define XACC_SCRUB_P_H
|
||||
|
||||
#include "Account.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "gnc-engine.h"
|
||||
|
||||
/* Utility to make account by name. Not for public use. */
|
||||
Account * xaccScrubUtilityGetOrMakeAccount (Account *root,
|
||||
gnc_commodity * currency, const char *accname,
|
||||
GNCAccountType acctype, gboolean placeholder);
|
||||
|
||||
|
||||
#endif /* XACC_SCRUB_P_H */
|
Loading…
Reference in New Issue
Block a user