mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
54 lines
1.9 KiB
C
54 lines
1.9 KiB
C
|
/***************************************************************************
|
||
|
* cashobjects.c
|
||
|
*
|
||
|
* Mon Aug 22 09:49:52 2005
|
||
|
* Copyright 2005 Neil Williams
|
||
|
* linux@codehelp.co.uk
|
||
|
****************************************************************************/
|
||
|
|
||
|
/*
|
||
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
*/
|
||
|
|
||
|
#include "cashobjects.h"
|
||
|
#include "gnc-engine.h"
|
||
|
#include "AccountP.h"
|
||
|
#include "GroupP.h"
|
||
|
#include "TransactionP.h"
|
||
|
#include "FreqSpec.h"
|
||
|
#include "SchedXaction.h"
|
||
|
#include "SX-book-p.h"
|
||
|
#include "gnc-pricedb-p.h"
|
||
|
#include "gnc-lot-p.h"
|
||
|
#include "gnc-budget.h"
|
||
|
|
||
|
gboolean
|
||
|
cashobjects_register(void)
|
||
|
{
|
||
|
g_return_val_if_fail(gnc_commodity_table_register(), FALSE);
|
||
|
g_return_val_if_fail(xaccAccountRegister(), FALSE);
|
||
|
g_return_val_if_fail ( xaccTransRegister(), FALSE);
|
||
|
g_return_val_if_fail ( xaccSplitRegister(), FALSE);
|
||
|
g_return_val_if_fail ( xaccGroupRegister(), FALSE);
|
||
|
g_return_val_if_fail ( FreqSpecRegister(), FALSE);
|
||
|
g_return_val_if_fail ( SXRegister (), FALSE);
|
||
|
g_return_val_if_fail ( gnc_sxtt_register(), FALSE);
|
||
|
g_return_val_if_fail(gnc_pricedb_register(),FALSE);
|
||
|
g_return_val_if_fail (gnc_budget_register(),FALSE);
|
||
|
g_return_val_if_fail ( gnc_lot_register (), FALSE);
|
||
|
return TRUE;
|
||
|
}
|
||
|
|