summaryrefslogtreecommitdiff
path: root/shared/xml_base.h
blob: 6a47fcf255b42a74e63dff1c014c63bbe507ee42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// **************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl.html       *
// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de)                    *
// **************************************************************************
//
#ifndef XMLBASE_H_INCLUDED
#define XMLBASE_H_INCLUDED

#include <xml_error.h>
#include <zenXml/zenxml.h>

namespace xmlAccess
{
void saveXmlDocument(const zen::XmlDoc& doc, const wxString& filename); //throw (FfsXmlError)
void loadXmlDocument(const wxString& filename, zen::XmlDoc& doc); //throw FfsXmlError()

const wxString getErrorMessageFormatted(const zen::XmlIn& in);
}

#endif // XMLBASE_H_INCLUDED
bgstack15