summaryrefslogtreecommitdiffstats
path: root/1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php
diff options
context:
space:
mode:
Diffstat (limited to '1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php')
-rw-r--r--1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php b/1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php
new file mode 100644
index 0000000..16f15c6
--- /dev/null
+++ b/1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php
@@ -0,0 +1,16 @@
+<?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
+*
+*/
+
+// Grab the file name and save the output
+$_file = $_globals['prefix'] . "Types.cpp";
+$_bytes = file_put_contents( ($_globals['target_dir'] . $_globals['dom_dir'] . 'src/' . $_file), applyTemplate( 'TYPES_CPP', $bag ) );
+
+//if ( $_bytes > 0 ) { print "Wrote $_bytes bytes to file '$_file'\n"; }
+
+?> \ No newline at end of file