business-options.h

00001 /*
00002  * business-options.h -- non-GUI Option Utilities for GNC Business Objects
00003  *
00004  * Written By: Derek Atkins <warlord@MIT.EDU>
00005  * Copyright (C) 2003 Derek Atkins <warlord@MIT.EDU>
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License as
00009  * published by the Free Software Foundation; either version 2 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, contact:
00019  *
00020  * Free Software Foundation           Voice:  +1-617-542-5942
00021  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
00022  * Boston, MA  02110-1301,  USA       gnu@gnu.org
00023  */
00024 
00025 #ifndef GNC_BUSINESS_OPTIONS_UTILS_H_
00026 #define GNC_BUSINESS_OPTIONS_UTILS_H_
00027 
00028 #include "option-util.h"
00029 #include "gncTaxTable.h"
00030 #include "gncInvoice.h"
00031 #include "gncCustomer.h"
00032 #include "gncVendor.h"
00033 
00034 
00035 GncTaxTable* gnc_option_db_lookup_taxtable_option(GNCOptionDB *odb,
00036                                                   const char *section,
00037                                                   const char *name,
00038                                                   GncTaxTable * default_value);
00039 
00040 GncInvoice* gnc_option_db_lookup_invoice_option(GNCOptionDB *odb,
00041                                                 const char *section,
00042                                                 const char *name,
00043                                                 GncInvoice * default_value);
00044 
00045 GncCustomer* gnc_option_db_lookup_customer_option(GNCOptionDB *odb,
00046                                                   const char *section,
00047                                                   const char *name,
00048                                                   GncCustomer * default_value);
00049 
00050 GncVendor* gnc_option_db_lookup_vendor_option(GNCOptionDB *odb,
00051                                               const char *section,
00052                                               const char *name,
00053                                               GncVendor * default_value);
00054 
00055 
00056 #endif /* GNC_BUSINESS_OPTIONS_UTILS_H_ */

Generated on Thu Jul 3 05:06:28 2008 for GnuCash by  doxygen 1.5.2