cashobjects.c

00001 /***************************************************************************
00002  *            cashobjects.c
00003  *
00004  *  Mon Aug 22 09:49:52 2005
00005  *  Copyright  2005  Neil Williams
00006  *  linux@codehelp.co.uk
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00023  *  02110-1301, USA.
00024  */
00025  
00026 #include "config.h"
00027 #include "cashobjects.h"
00028 #include "gnc-engine.h"
00029 #include "AccountP.h"
00030 #include "TransactionP.h"
00031 #include "SchedXaction.h"
00032 #include "SX-book-p.h"
00033 #include "gnc-pricedb-p.h"
00034 #include "gnc-lot-p.h"
00035 #include "gnc-budget.h"
00036 
00037 gboolean
00038 cashobjects_register(void)
00039 {
00040         g_return_val_if_fail(gnc_commodity_table_register(), FALSE);
00041         g_return_val_if_fail(xaccAccountRegister(), FALSE);
00042         g_return_val_if_fail ( xaccTransRegister(), FALSE);
00043         g_return_val_if_fail ( xaccSplitRegister(), FALSE);
00044         g_return_val_if_fail ( SXRegister (),       FALSE);
00045         g_return_val_if_fail ( gnc_sxtt_register(), FALSE);
00046         g_return_val_if_fail(gnc_pricedb_register(),FALSE);
00047         g_return_val_if_fail (gnc_budget_register(),FALSE);
00048         g_return_val_if_fail ( gnc_lot_register (), FALSE); 
00049         return TRUE;
00050 }
00051 

Generated on Fri Jul 25 05:05:11 2008 for GnuCash by  doxygen 1.5.2