GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
business-options.h
1 /*
2  * business-options.h -- non-GUI Option Utilities for GNC Business Objects
3  *
4  * Written By: Derek Atkins <[email protected]>
5  * Copyright (C) 2003 Derek Atkins <[email protected]>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, contact:
19  *
20  * Free Software Foundation Voice: +1-617-542-5942
21  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
22  * Boston, MA 02110-1301, USA [email protected]
23  */
24 
25 #ifndef GNC_BUSINESS_OPTIONS_UTILS_H_
26 #define GNC_BUSINESS_OPTIONS_UTILS_H_
27 
28 #include "option-util.h"
29 #include "gncTaxTable.h"
30 #include "gncInvoice.h"
31 #include "gncCustomer.h"
32 #include "gncVendor.h"
33 
34 
35 GncTaxTable* gnc_option_db_lookup_taxtable_option(GNCOptionDB *odb,
36  const char *section,
37  const char *name,
38  GncTaxTable * default_value);
39 
40 GncInvoice* gnc_option_db_lookup_invoice_option(GNCOptionDB *odb,
41  const char *section,
42  const char *name,
43  GncInvoice * default_value);
44 
45 GncCustomer* gnc_option_db_lookup_customer_option(GNCOptionDB *odb,
46  const char *section,
47  const char *name,
48  GncCustomer * default_value);
49 
50 GncVendor* gnc_option_db_lookup_vendor_option(GNCOptionDB *odb,
51  const char *section,
52  const char *name,
53  GncVendor * default_value);
54 
55 
56 #endif /* GNC_BUSINESS_OPTIONS_UTILS_H_ */
Core Customer Interface.
Tax Table programming interface.
Business Invoice Interface.
Vendor Interface.