windowing/windowserver/wins_switching/generate_stubs.pl
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
--- a/windowing/windowserver/wins_switching/generate_stubs.pl	Tue Aug 31 16:31:06 2010 +0300
+++ b/windowing/windowserver/wins_switching/generate_stubs.pl	Wed Sep 01 12:39:21 2010 +0100
@@ -1,6 +1,6 @@
 #!/bin/perl -w
 
-# Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+# Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
 # All rights reserved.
 # This component and the accompanying materials are made available
 # under the terms of "Eclipse Public License v1.0"
@@ -19,17 +19,7 @@
 #
 
 use strict;
-
-my $COPYRIGHT = <<"EndCopyrightAndLicense";
-/*
- * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
- * All rights reserved.
- * This component and the accompanying materials are made available
- * under the terms of "Eclipse Public License v1.0"
- * which accompanies this distribution, and is available
- * at the URL "http://www.eclipse.org/legal/epl-v10.html".
- */
-EndCopyrightAndLicense
+my $COPYRIGHT = "Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).";
 
 my $SOURCE_DEF_SIZE = 0;
 my $WS32_DEF = "../BWINS/";
@@ -109,8 +99,9 @@
 sub printHeaderStart(\$) {
 	my ($fh) = @_;
 
-	print $fh "$COPYRIGHT\n" .
-		"/* Generated from  \"$WS32_DEF\" file size: $SOURCE_DEF_SIZE */\n\n" .
+	print $fh "// Generated from \"$WS32_DEF\" file size: $SOURCE_DEF_SIZE\n" .
+		"// $COPYRIGHT\n" .
+		"\n" .
 		"extern \"C\" {\n" .
 		"void common_dispatch();\n" .
 		"\n";