Permalink
Browse files

Start adding structures for the content of the files.

  • Loading branch information...
1 parent cd93c1f commit e47493baf7e6a2f481db661e6c79ea5f5ba3d493 @alriddoch committed Feb 12, 2010
Showing with 35 additions and 1 deletion.
  1. +4 −1 libcolladadae/parser.h
  2. +31 −0 libcolladadae/structure.h
View
@@ -19,7 +19,10 @@
#ifndef LIBCOLLADADAE_PARSER_H
#define LIBCOLLADADAE_PARSER_H
-typedef struct _libcolladadae_file {
+struct dae_asset;
+
+typedef struct libcolladadae_file {
+ struct dae_asset * dae_assets;
void * place_holder;
} libcolladadae_file;
View
@@ -0,0 +1,31 @@
+/* Copyright (C) 2010 Alistair Riddoch <alriddoch@googlemail.com>
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ * 3. This notice may not be removed or altered from any source distribution.
+ */
+
+#ifndef LIBCOLLADADAE_STRUCTURE_H
+#define LIBCOLLADADAE_STRUCTURE_H
+
+typedef struct dae_contributor {
+ const char * dc_authoring_tool;
+} dae_contributor;
+
+typedef struct dae_asset {
+ struct dae_contributor * da_contributors;
+ struct dae_asset * da_next;
+} dae_asset;
+
+#endif /* LIBCOLLADADAE_STRUCTURE_H */

0 comments on commit e47493b

Please sign in to comment.