31 #ifndef GNC_TAXTABLE_H_
32 #define GNC_TAXTABLE_H_
69 #ifdef GNUCASH_MAJOR_VERSION
73 #define GNC_ID_TAXTABLE "gncTaxTable"
76 #define GNC_TYPE_TAXTABLE (gnc_taxtable_get_type ())
77 #define GNC_TAXTABLE(o) \
78 (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_TAXTABLE, GncTaxTable))
79 #define GNC_TAXTABLE_CLASS(k) \
80 (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_TAXTABLE, GncTaxTableClass))
81 #define GNC_IS_TAXTABLE(o) \
82 (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_TAXTABLE))
83 #define GNC_IS_TAXTABLE_CLASS(k) \
84 (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_TAXTABLE))
85 #define GNC_TAXTABLE_GET_CLASS(o) \
86 (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_TAXTABLE, GncTaxTableClass))
87 GType gnc_taxtable_get_type(
void);
108 gboolean gncAmountStringToType (
const char *str,
GncAmountType *type);
111 gboolean gncTaxIncludedStringToType (
const char *str,
GncTaxIncluded *type);
155 GList * gncTaxTableGetTables (
QofBook *book);
160 #define gncTaxTableGetChild(t) gncTaxTableReturnChild((t),FALSE)
161 typedef GList GncTaxTableEntryList;
199 #define GNC_TT_NAME "tax table name"
200 #define GNC_TT_REFCOUNT "reference count"
203 #define gncTaxTableGetGUID(x) qof_instance_get_guid(QOF_INSTANCE(x))
204 #define gncTaxTableRetGUID(x) (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null()))
205 #define gncTaxTableLookupDirect(G,B) gncTaxTableLookup((B), &(G))
Use a 64-bit unsigned int timespec.
gnc_numeric gncAccountValueTotal(GList *list)
#define QOF_BOOK_RETURN_ENTITY(book, guid, e_type, c_type)
Encapsulates all the information about a dataset manipulated by QOF. This is the top-most structure u...
Account handling public routines.
void gncAccountValueDestroy(GList *list)
GList * gncAccountValueAddList(GList *l1, GList *l2)
GList * gncAccountValueAdd(GList *list, Account *acc, gnc_numeric value)