| 4 | from pathlib import Path |
| 5 | |
| 6 | def writeLicense(writer): |
| 7 | writer.write( |
| 8 | """/* This file is part of YUView - The YUV player with advanced analytics toolset |
| 9 | * <https://github.com/IENT/YUView> |
| 10 | * Copyright (C) 2015 Institut für Nachrichtentechnik, RWTH Aachen University, GERMANY |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation; either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * In addition, as a special exception, the copyright holders give |
| 18 | * permission to link the code of portions of this program with the |
| 19 | * OpenSSL library under certain conditions as described in each |
| 20 | * individual source file, and distribute linked combinations including |
| 21 | * the two. |
| 22 | * |
| 23 | * You must obey the GNU General Public License in all respects for all |
| 24 | * of the code used other than OpenSSL. If you modify file(s) with this |
| 25 | * exception, you may extend this exception to your version of the |
| 26 | * file(s), but you are not obligated to do so. If you do not wish to do |
| 27 | * so, delete this exception statement from your version. If you delete |
| 28 | * this exception statement from all source files in the program, then |
| 29 | * also delete it here. |
| 30 | * |
| 31 | * This program is distributed in the hope that it will be useful, |
| 32 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 33 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 34 | * GNU General Public License for more details. |
| 35 | * |
| 36 | * You should have received a copy of the GNU General Public License |
| 37 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 38 | */\n\n""") |
| 39 | |
| 40 | class HeaderFile: |
| 41 | def __init__ (self, path, name, namespace): |