summaryrefslogtreecommitdiffstats
path: root/1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-10-06 11:50:27 +0000
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-10-06 16:49:51 +0200
commiteee97c048f9cdc1cc05d6a516a3da56a13accd64 (patch)
tree019e374beaed56be3cbeaff3cf202d41ee427d96 /1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php
Initial import
Diffstat (limited to '1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php')
-rw-r--r--1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php b/1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php
new file mode 100644
index 0000000..6d14e57
--- /dev/null
+++ b/1.4.0/dom/codeGen/1.5/tpl/tpl-dot-h.php
@@ -0,0 +1,28 @@
+<?php
+/*
+* Copyright 2006 Sony Computer Entertainment Inc.
+*
+* Licensed under the MIT Open Source License, for details please see license.txt or the website
+* http://www.opensource.org/licenses/mit-license.php
+*
+*/
+
+if ( $_globals['copyright'] ) {
+print $_globals['copyright_text'];
+}
+?>#ifndef __<?= $_globals['prefix'] . ucfirst( $bag['element_name'] ) ?>_h__
+#define __<?= $_globals['prefix'] . ucfirst( $bag['element_name'] ) ?>_h__
+
+#include <dae/daeDocument.h>
+#include <<?= $_globals['prefix'] . '/' . $_globals['prefix'] ?>Types.h>
+#include <<?= $_globals['prefix'] . '/' . $_globals['prefix'] ?>Elements.h>
+
+<?php
+global $includeList;
+$includeList = array();
+print applyTemplate( 'INCLUDES', $bag ) ?>
+class DAE;
+
+<?= applyTemplate( 'CLASS', $bag ) ?>
+
+#endif