2001-05-09 18:03:36 -05:00
|
|
|
/********************************************************************\
|
|
|
|
* gnc-xml.h -- api for gnucash xml i/o *
|
|
|
|
* *
|
|
|
|
* Copyright (C) 2001 James LewisMoss <dres@debian.org> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; either version 2 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License*
|
|
|
|
* along with this program; if not, contact: *
|
|
|
|
* *
|
|
|
|
* Free Software Foundation Voice: +1-617-542-5942 *
|
2005-11-16 23:35:02 -06:00
|
|
|
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
|
|
|
|
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
2001-05-09 18:03:36 -05:00
|
|
|
* *
|
|
|
|
\********************************************************************/
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2001-07-03 01:49:39 -05:00
|
|
|
#ifndef GNC_XML_H
|
|
|
|
#define GNC_XML_H
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2015-11-29 19:11:29 -06:00
|
|
|
extern "C"
|
|
|
|
{
|
2001-06-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
Added.
* src/FileDialog.c: Added support for copying
scheduled-transaction-related GNCBook fields.
src/engine/
* src/engine/FreqSpec.{h,c}: Added.
* src/engine/SchedXaction.{h,c}: Added.
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
* src/engine/gnc-book.c: Added the template group [template
transaction belong to the template group] and the Scheduled
Trasnaction list.
* src/gnome/glade/sched_xact.glade: Added.
* src/gnome/dialog-nextrun.{h,c}: Added.
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
* src/gnome/gnc-frequency.{h,c}: Added.
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
Template Ledger.
* src/guile/gnc.gwp: Added wrapping for
dialog-{scheduledxactions,nextrun}-creation functions.
* src/register/splitreg.c: Added formula credit and debit cells,
and flags for template-register support.
* src/register/formulacell.h: Added.
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
in IRC.
* src/gnome/query-user.h: Added prototype of
gnc_verify_dialog_parented(...), so I could use it the SX UI
stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4725 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-18 03:25:46 -05:00
|
|
|
#include "SchedXaction.h"
|
2001-11-24 06:10:42 -06:00
|
|
|
#include "gnc-engine.h"
|
2001-10-05 03:35:04 -05:00
|
|
|
#include "gnc-pricedb.h"
|
2005-11-01 21:32:36 -06:00
|
|
|
#include "gnc-budget.h"
|
2015-11-29 19:11:29 -06:00
|
|
|
}
|
|
|
|
|
2001-10-05 03:35:04 -05:00
|
|
|
#include "gnc-xml-helper.h"
|
|
|
|
#include "sixtp.h"
|
2001-06-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
Added.
* src/FileDialog.c: Added support for copying
scheduled-transaction-related GNCBook fields.
src/engine/
* src/engine/FreqSpec.{h,c}: Added.
* src/engine/SchedXaction.{h,c}: Added.
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
* src/engine/gnc-book.c: Added the template group [template
transaction belong to the template group] and the Scheduled
Trasnaction list.
* src/gnome/glade/sched_xact.glade: Added.
* src/gnome/dialog-nextrun.{h,c}: Added.
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
* src/gnome/gnc-frequency.{h,c}: Added.
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
Template Ledger.
* src/guile/gnc.gwp: Added wrapping for
dialog-{scheduledxactions,nextrun}-creation functions.
* src/register/splitreg.c: Added formula credit and debit cells,
and flags for template-register support.
* src/register/formulacell.h: Added.
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
in IRC.
* src/gnome/query-user.h: Added prototype of
gnc_verify_dialog_parented(...), so I could use it the SX UI
stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4725 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-18 03:25:46 -05:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_account_dom_tree_create (Account* act, gboolean exporting,
|
|
|
|
gboolean allow_incompat);
|
|
|
|
sixtp* gnc_account_sixtp_parser_create (void);
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_book_dom_tree_create (QofBook* book);
|
|
|
|
sixtp* gnc_book_sixtp_parser_create (void);
|
|
|
|
sixtp* gnc_book_id_sixtp_parser_create (void);
|
|
|
|
sixtp* gnc_book_slots_sixtp_parser_create (void);
|
2001-12-30 11:38:01 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_commodity_dom_tree_create (const gnc_commodity* com);
|
|
|
|
sixtp* gnc_commodity_sixtp_parser_create (void);
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
sixtp* gnc_freqSpec_sixtp_parser_create (void);
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_lot_dom_tree_create (GNCLot*);
|
|
|
|
sixtp* gnc_lot_sixtp_parser_create (void);
|
2001-02-22 01:29:05 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_pricedb_dom_tree_create (GNCPriceDB* db);
|
|
|
|
sixtp* gnc_pricedb_sixtp_parser_create (void);
|
2001-03-13 00:20:03 -06:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_schedXaction_dom_tree_create (SchedXaction* sx);
|
|
|
|
sixtp* gnc_schedXaction_sixtp_parser_create (void);
|
2001-06-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
Added.
* src/FileDialog.c: Added support for copying
scheduled-transaction-related GNCBook fields.
src/engine/
* src/engine/FreqSpec.{h,c}: Added.
* src/engine/SchedXaction.{h,c}: Added.
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
* src/engine/gnc-book.c: Added the template group [template
transaction belong to the template group] and the Scheduled
Trasnaction list.
* src/gnome/glade/sched_xact.glade: Added.
* src/gnome/dialog-nextrun.{h,c}: Added.
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
* src/gnome/gnc-frequency.{h,c}: Added.
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
Template Ledger.
* src/guile/gnc.gwp: Added wrapping for
dialog-{scheduledxactions,nextrun}-creation functions.
* src/register/splitreg.c: Added formula credit and debit cells,
and flags for template-register support.
* src/register/formulacell.h: Added.
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
in IRC.
* src/gnome/query-user.h: Added prototype of
gnc_verify_dialog_parented(...), so I could use it the SX UI
stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4725 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-18 03:25:46 -05:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_budget_dom_tree_create (GncBudget* bgt);
|
|
|
|
sixtp* gnc_budget_sixtp_parser_create (void);
|
2002-05-21 00:22:55 -05:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
xmlNodePtr gnc_transaction_dom_tree_create (Transaction* txn);
|
|
|
|
sixtp* gnc_transaction_sixtp_parser_create (void);
|
2001-06-17 Joshua Sled <jsled@asynchronous.org>
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
Added.
* src/FileDialog.c: Added support for copying
scheduled-transaction-related GNCBook fields.
src/engine/
* src/engine/FreqSpec.{h,c}: Added.
* src/engine/SchedXaction.{h,c}: Added.
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
* src/engine/gnc-book.c: Added the template group [template
transaction belong to the template group] and the Scheduled
Trasnaction list.
* src/gnome/glade/sched_xact.glade: Added.
* src/gnome/dialog-nextrun.{h,c}: Added.
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
* src/gnome/gnc-frequency.{h,c}: Added.
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
Template Ledger.
* src/guile/gnc.gwp: Added wrapping for
dialog-{scheduledxactions,nextrun}-creation functions.
* src/register/splitreg.c: Added formula credit and debit cells,
and flags for template-register support.
* src/register/formulacell.h: Added.
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
in IRC.
* src/gnome/query-user.h: Added prototype of
gnc_verify_dialog_parented(...), so I could use it the SX UI
stuff.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4725 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-18 03:25:46 -05:00
|
|
|
|
2016-03-12 16:04:40 -06:00
|
|
|
sixtp* gnc_template_transaction_sixtp_parser_create (void);
|
2001-03-13 00:20:03 -06:00
|
|
|
|
2001-07-03 01:49:39 -05:00
|
|
|
#endif /* GNC_XML_H */
|