+# Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import WebIDL
from collections import OrderedDict
from Queue import Queue
+from datetime import date
import jinja2
cppPrimitiveMap = {
'callbacks':self.ctx['callback'],
'tizen': self.ctx['Tizen'],
'window': self.ctx['Window'],
- 'cmdtable' : self.ctx['cmdtable']})
+ 'cmdtable' : self.ctx['cmdtable'],
+ 'year' : date.today().year})
TPL_EXTENSION_H = "tpl_extension.h"
vals['tizen'] = self.ctx['Tizen']
vals['window'] = self.ctx['Window']
vals['cmdtable'] = self.ctx['cmdtable']
+ vals['year'] = date.today().year
return tpl.render(vals)
+# Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
import sys
from pprint import pprint
+/* global tizen, xwalk, extension */
+
+// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
{% for module in modules %}
-// {{module.name}}
var validator_ = xwalk.utils.validator;
var types_ = validator_.Types;
-// Copyright 2014 Samsung Electronics Co, Ltd. All rights reserved.
+// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Copyright 2014 Samsung Electronics Co, Ltd. All rights reserved.
+// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Copyright 2014 Samsung Electronics Co, Ltd. All rights reserved.
+// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Copyright 2014 Samsung Electronics Co, Ltd. All rights reserved.
+// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.