summaryrefslogtreecommitdiff
path: root/TEMPLATE.SOURCECODE.HEADER
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-06-22 14:24:47 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-06-22 16:31:30 +0100
commit839420548dc5d32af5b903ec83116557c4175674 (patch)
treed2b621d3ff7fb04b9e4380b3d91f9683b3fabd41 /TEMPLATE.SOURCECODE.HEADER
parentae86bd2e64332abba968953985284a5b29f72720 (diff)
add stock re-based code headers.
Diffstat (limited to 'TEMPLATE.SOURCECODE.HEADER')
-rw-r--r--TEMPLATE.SOURCECODE.HEADER54
1 files changed, 54 insertions, 0 deletions
diff --git a/TEMPLATE.SOURCECODE.HEADER b/TEMPLATE.SOURCECODE.HEADER
index e57acc532b18..50286bfb5126 100644
--- a/TEMPLATE.SOURCECODE.HEADER
+++ b/TEMPLATE.SOURCECODE.HEADER
@@ -1,3 +1,10 @@
+------------------------------------------------------------------------
+
+ For all new, original source files created by
+ LibreOffice hackers:
+
+------------------------------------------------------------------------
+
For C/C++/Java/IDL etc.
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
@@ -36,3 +43,50 @@ For XML / .component:
*
-->
+
+------------------------------------------------------------------------
+
+ Only for source files which may contain code
+ from the Apache Software Foundation:
+
+------------------------------------------------------------------------
+
+For C/C++/Java/IDL etc.
+
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+For makefiles, perl, scripts etc.
+
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#