aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h')
-rw-r--r--src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h b/src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h
new file mode 100644
index 0000000..4171e62
--- /dev/null
+++ b/src/others/mimesh/libg3d-0.0.8/src/stream_gsf_class.h
@@ -0,0 +1,53 @@
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#ifndef _STREAM_GSF_CLASS_H
23#define _STREAM_GSF_CLASS_H
24
25#include <gsf/gsf-input.h>
26#include <g3d/types.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* ifdef __cplusplus */
31
32
33#define G3D_GSF_INPUT_STREAM_TYPE (g3d_gsf_input_stream_get_type())
34#define G3D_GSF_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST((o), \
35 G3D_GSF_INPUT_STREAM_TYPE, G3DGsfInputStream))
36#define G3D_IS_GSF_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), \
37 G3D_GSF_INPUT_STREAM_TYPE))
38
39typedef struct _G3DGsfInputStream G3DGsfInputStream;
40
41EAPI GType g3d_gsf_input_stream_get_type(void) G_GNUC_CONST;
42
43EAPI GsfInput *g3d_gsf_input_stream_new(G3DStream *stream);
44
45/* Classes be damned, I don't have time to learn this opaque class system. Maybe fix it later, or just replace it all. Pffft */
46EAPI G3DStream *g3d_gsf_input_stream_get_stream(GsfInput *input);
47
48#ifdef __cplusplus
49}
50#endif /* ifdef __cplusplus */
51
52#endif /* _STREAM_GSF_CLASS_H */
53