summaryrefslogtreecommitdiffstats
blob: 9726f03f7ab2644b91f0dac549d413ead7e7b9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python

import os

TEMPLATE = """/*
 * Copyright (c) %(year)s %(author)s
 * %(license)s
 */"""

for (path, dirs, files) in os.walk("src") :
	if "3rdParty" in path :
		continue
	for filename in files :
		if not filename.endswith(".cpp") and not filename.endswith(".h") :
			continue
		if filename.startswith("moc_") :
			continue
		fullFilename = path + "/" + filename
		print fullFilename