GnuCash 2.4.99
gncTaxTableP.h
00001 /********************************************************************\
00002  * gncTaxTableP.h -- the Gnucash Tax Table private interface        *
00003  *                                                                  *
00004  * This program is free software; you can redistribute it and/or    *
00005  * modify it under the terms of the GNU General Public License as   *
00006  * published by the Free Software Foundation; either version 2 of   *
00007  * the License, or (at your option) any later version.              *
00008  *                                                                  *
00009  * This program is distributed in the hope that it will be useful,  *
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00012  * GNU General Public License for more details.                     *
00013  *                                                                  *
00014  * You should have received a copy of the GNU General Public License*
00015  * along with this program; if not, contact:                        *
00016  *                                                                  *
00017  * Free Software Foundation           Voice:  +1-617-542-5942       *
00018  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00019  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00020  *                                                                  *
00021 \********************************************************************/
00022 
00023 /*
00024  * Copyright (C) 2002 Derek Atkins
00025  * Copyright (C) 2003 Linas Vepstas <linas@linas.org>
00026  * Author: Derek Atkins <warlord@MIT.EDU>
00027  */
00028 
00029 #ifndef GNC_TAXTABLEP_H_
00030 #define GNC_TAXTABLEP_H_
00031 
00032 #include "gncTaxTable.h"
00033 
00034 gboolean gncTaxTableRegister (void);
00035 
00036 void gncTaxTableSetParent (GncTaxTable *table, GncTaxTable *parent);
00037 void gncTaxTableSetChild (GncTaxTable *table, GncTaxTable *child);
00038 void gncTaxTableSetRefcount (GncTaxTable *table, gint64 refcount);
00039 void gncTaxTableMakeInvisible (GncTaxTable *table);
00040 
00041 gboolean gncTaxTableGetInvisible (const GncTaxTable *table);
00042 
00043 GncTaxTable* gncTaxTableEntryGetTable( const GncTaxTableEntry* entry );
00044 
00045 #define gncTaxTableSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
00046 
00047 #endif /* GNC_TAXTABLEP_H_ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines