3 * Copyright (C) 2001-2009 Jim Evins <evins@snaught.com>.
5 * This file is part of gLabels.
7 * gLabels is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * gLabels is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with gLabels. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef __XML_LABEL_H__
22 #define __XML_LABEL_H__
30 XML_LABEL_UNKNOWN_MEDIA = 1,
32 XML_LABEL_ERROR_OPEN_PARSE = -10,
33 XML_LABEL_ERROR_SAVE_FILE = -20,
37 extern glLabel *gl_xml_label_open (const gchar * filename,
38 glXMLLabelStatus *status);
39 extern glLabel *gl_xml_label_open_buffer (const gchar * buffer,
40 glXMLLabelStatus *status);
42 extern void gl_xml_label_save (glLabel * label,
43 const gchar * filename,
44 glXMLLabelStatus *status);
45 extern gchar *gl_xml_label_save_buffer (glLabel * label,
46 glXMLLabelStatus *status);
52 #endif /* __XML_LABEL_H__ */
57 * Local Variables: -- emacs
59 * c-basic-offset: 8 -- emacs
60 * tab-width: 8 -- emacs
61 * indent-tabs-mode: nil -- emacs