diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-10-06 11:50:27 +0000 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-10-06 16:49:51 +0200 |
commit | eee97c048f9cdc1cc05d6a516a3da56a13accd64 (patch) | |
tree | 019e374beaed56be3cbeaff3cf202d41ee427d96 /1.4.0/dom/codeGen/1.5/tpl/tpl-types-cpp-file.php |
Initial import
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.php | 16 |
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 |