aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h
new file mode 100644
index 0000000..949437e
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/plugins/import/imp_dae/imp_dae_xml.h
@@ -0,0 +1,44 @@
1/* $Id$ */
2
3/*
4 libg3d - 3D object loading library
5
6 Copyright (C) 2005-2009 Markus Dahms <mad@automagically.de>
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21*/
22
23#ifndef _IMP_DAE_XML_H
24#define _IMP_DAE_XML_H
25
26#include <glib.h>
27#include <libxml/tree.h>
28
29#include "imp_dae_library.h"
30#include "imp_dae_cb.h"
31
32gchar *dae_xml_get_attr(xmlNodePtr node, const gchar *attrname);
33xmlNodePtr dae_xml_get_child_by_tagname(xmlNodePtr parent, const gchar *tag);
34xmlNodePtr dae_xml_next_child_by_tagname(xmlNodePtr parent, xmlNodePtr *node,
35 gchar *nodename);
36xmlNodePtr dae_xml_next_child(DaeLibrary *lib, xmlNodePtr parent,
37 xmlNodePtr *node, xmlNodePtr *instance, gchar **nodename);
38gboolean dae_xml_parse(DaeGlobalData *global, xmlNodePtr parent,
39 DaeChunkDesc *chunks, guint32 level, gpointer user_data);
40gboolean dae_xml_next_int(xmlNodePtr node, gchar **nextp, gint *i);
41gboolean dae_xml_next_double(xmlNodePtr node, gchar **nextp, GLdouble *d);
42gboolean dae_xml_next_float(xmlNodePtr node, gchar **nextp, GLfloat *f);
43
44#endif /* _IMP_DAE_XML_H */