C++ compatibility: export is a keyword, so don't use it as a member name.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18770 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-03-01 18:30:37 +00:00
parent 7b95d03929
commit 261c65e2a2
5 changed files with 6 additions and 6 deletions

View File

@ -949,7 +949,7 @@ init_sql_backend( GncDbiBackend* dbi_be )
be->run_query = gnc_sql_run_query;
be->free_query = gnc_sql_free_query;
be->export = NULL;
be->export_fn = NULL;
gnc_sql_init( &dbi_be->sql_be );
}

View File

@ -1129,7 +1129,7 @@ gnc_backend_new(void)
be->load_config = NULL;
be->get_config = NULL;
be->export = gnc_xml_be_write_accounts_to_file;
be->export_fn = gnc_xml_be_write_accounts_to_file;
gnc_be->dirname = NULL;
gnc_be->fullpath = NULL;

View File

@ -364,7 +364,7 @@ struct QofBackend_s
* removed ASAP. This is a temporary hack-around until period-closing
* is fully implemented.
*/
void (*export) (QofBackend *, QofBook *);
void (*export_fn) (QofBackend *, QofBook *);
};

View File

@ -142,7 +142,7 @@ qof_backend_init(QofBackend *be)
/* to be removed */
be->price_lookup = NULL;
be->export = NULL;
be->export_fn = NULL;
}
void

View File

@ -1694,11 +1694,11 @@ qof_session_export (QofSession *tmp_session,
return FALSE;
be->percentage = percentage_func;
if (be->export)
if (be->export_fn)
{
int err;
(be->export)(be, book);
(be->export_fn)(be, book);
err = qof_backend_get_error(be);
if (ERR_BACKEND_NO_ERR != err)