GnuCash c935c2f+
Loading...
Searching...
No Matches
sixtp-dom-generators.h
1/********************************************************************
2 * sixtp-dom-generators.h *
3 * Copyright 2001 Gnumatic, Inc. *
4 * *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License as *
7 * published by the Free Software Foundation; either version 2 of *
8 * the License, or (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License*
16 * along with this program; if not, contact: *
17 * *
18 * Free Software Foundation Voice: +1-617-542-5942 *
19 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20 * Boston, MA 02110-1301, USA gnu@gnu.org *
21 * *
22 ********************************************************************/
23
24#ifndef SIXTP_DOM_GENERATORS_H
25#define SIXTP_DOM_GENERATORS_H
26
27#include <glib.h>
28
29#include "gnc-commodity.h"
30#include "qof.h"
31#include "Recurrence.h"
32
33#include "gnc-xml-helper.h"
34
35xmlNodePtr text_to_dom_tree (const char* tag, const char* str);
36xmlNodePtr int_to_dom_tree (const char* tag, gint64 val);
37xmlNodePtr boolean_to_dom_tree (const char* tag, gboolean val);
38xmlNodePtr guid_to_dom_tree (const char* tag, const GncGUID* gid);
39xmlNodePtr commodity_ref_to_dom_tree (const char* tag, const gnc_commodity* c);
40xmlNodePtr time64_to_dom_tree (const char* tag, time64);
41xmlNodePtr gdate_to_dom_tree (const char* tag, const GDate* spec);
42xmlNodePtr gnc_numeric_to_dom_tree (const char* tag, const gnc_numeric* num);
43xmlNodePtr qof_instance_slots_to_dom_tree (const char* tag,
44 const QofInstance* inst);
45xmlNodePtr guint_to_dom_tree (const char* tag, guint an_int);
46xmlNodePtr recurrence_to_dom_tree (const gchar* tag, const Recurrence* r);
47
48gchar* double_to_string (double value);
49
50#endif /* _SIXTP_DOM_GENERATORS_H_ */
Commodity handling public routines.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition gnc-date.h:87
The type used to store guids in C.
Definition guid.h:75