From 65c22f1b679be4c6a631ea68b501ca465d7ac5c8 Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 24 Dec 2007 18:43:10 +0000 Subject: [PATCH] WinGui: - Added GPL Licence comment at the top of each code file as required. (this may need to be changed later but will do for now) git-svn-id: svn://localhost/HandBrake/trunk@1147 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Functions/CLI.cs | 6 ++++++ win/C#/Functions/Common.cs | 6 ++++++ win/C#/Functions/QueryParser.cs | 6 ++++++ win/C#/Functions/RssReader.cs | 6 ++++++ win/C#/Installer/Installer.nsi | 8 +++++++- win/C#/Parsing/AudioTrack.cs | 6 ++++++ win/C#/Parsing/Chapter.cs | 6 ++++++ win/C#/Parsing/DVD.cs | 6 ++++++ win/C#/Parsing/Parser.cs | 6 ++++++ win/C#/Parsing/Subtitle.cs | 6 ++++++ win/C#/Parsing/Title.cs | 6 ++++++ win/C#/Program.cs | 16 ++++++++++++++++ win/C#/Properties/AssemblyInfo.cs | 10 ++++++++-- win/C#/Properties/Resources.Designer.cs | 8 +++++++- win/C#/Properties/Settings.Designer.cs | 8 +++++++- win/C#/frmAbout.Designer.cs | 6 ++++++ win/C#/frmAbout.cs | 6 ++++++ win/C#/frmDownload.Designer.cs | 6 ++++++ win/C#/frmDownload.cs | 6 ++++++ win/C#/frmDvdInfo.Designer.cs | 6 ++++++ win/C#/frmDvdInfo.cs | 6 ++++++ win/C#/frmMain.Designer.cs | 6 ++++++ win/C#/frmMain.cs | 6 ++++++ win/C#/frmOptions.Designer.cs | 6 ++++++ win/C#/frmOptions.cs | 6 ++++++ win/C#/frmQueue.Designer.cs | 6 ++++++ win/C#/frmQueue.cs | 6 ++++++ win/C#/frmReadDVD.Designer.cs | 6 ++++++ win/C#/frmReadDVD.cs | 6 ++++++ win/C#/frmSplashScreen.Designer.cs | 6 ++++++ win/C#/frmSplashScreen.cs | 6 ++++++ win/C#/frmUpdater.Designer.cs | 6 ++++++ win/C#/frmUpdater.cs | 6 ++++++ 33 files changed, 213 insertions(+), 5 deletions(-) diff --git a/win/C#/Functions/CLI.cs b/win/C#/Functions/CLI.cs index b0b79d32..422f5a7a 100644 --- a/win/C#/Functions/CLI.cs +++ b/win/C#/Functions/CLI.cs @@ -1,3 +1,9 @@ +/* CLI.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Threading; diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs index 83904414..a0a7d72e 100644 --- a/win/C#/Functions/Common.cs +++ b/win/C#/Functions/Common.cs @@ -1,3 +1,9 @@ +/* Common.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Text; diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index fc85fb7a..9418aaf7 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -1,3 +1,9 @@ +/* QueryParser.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Text; diff --git a/win/C#/Functions/RssReader.cs b/win/C#/Functions/RssReader.cs index ce8dd568..4a184de0 100644 --- a/win/C#/Functions/RssReader.cs +++ b/win/C#/Functions/RssReader.cs @@ -1,3 +1,9 @@ +/* RssReader.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/Installer/Installer.nsi b/win/C#/Installer/Installer.nsi index 41150650..84bb9bfa 100644 --- a/win/C#/Installer/Installer.nsi +++ b/win/C#/Installer/Installer.nsi @@ -1,8 +1,14 @@ +/* Resources.Designer.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + ; Script generated by the HM NIS Edit Script Wizard. ; HM NIS Edit Wizard helper defines !define PRODUCT_NAME "Handbrake" -!define PRODUCT_VERSION "2.4.1" +!define PRODUCT_VERSION "0.9.1" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Handbrake.exe" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" !define PRODUCT_UNINST_ROOT_KEY "HKLM" diff --git a/win/C#/Parsing/AudioTrack.cs b/win/C#/Parsing/AudioTrack.cs index 2977a995..22a5a1ba 100644 --- a/win/C#/Parsing/AudioTrack.cs +++ b/win/C#/Parsing/AudioTrack.cs @@ -1,3 +1,9 @@ +/* AudioTrack.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.IO; diff --git a/win/C#/Parsing/Chapter.cs b/win/C#/Parsing/Chapter.cs index f2d10f51..0131916c 100644 --- a/win/C#/Parsing/Chapter.cs +++ b/win/C#/Parsing/Chapter.cs @@ -1,3 +1,9 @@ +/* Chapter.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.IO; diff --git a/win/C#/Parsing/DVD.cs b/win/C#/Parsing/DVD.cs index c06244ab..c110c3e8 100644 --- a/win/C#/Parsing/DVD.cs +++ b/win/C#/Parsing/DVD.cs @@ -1,3 +1,9 @@ +/* DVD.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Windows.Forms; diff --git a/win/C#/Parsing/Parser.cs b/win/C#/Parsing/Parser.cs index 7e00ddc2..00dcedb8 100644 --- a/win/C#/Parsing/Parser.cs +++ b/win/C#/Parsing/Parser.cs @@ -1,3 +1,9 @@ +/* Parser.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.IO; diff --git a/win/C#/Parsing/Subtitle.cs b/win/C#/Parsing/Subtitle.cs index defcb5b0..b6908e28 100644 --- a/win/C#/Parsing/Subtitle.cs +++ b/win/C#/Parsing/Subtitle.cs @@ -1,3 +1,9 @@ +/* Subtitle.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.IO; diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs index 0cfbff3f..55babd20 100644 --- a/win/C#/Parsing/Title.cs +++ b/win/C#/Parsing/Title.cs @@ -1,3 +1,9 @@ +/* Title.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Drawing; diff --git a/win/C#/Program.cs b/win/C#/Program.cs index e764a1c2..ab485c16 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -1,3 +1,9 @@ +/* Program.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Collections.Specialized; @@ -24,6 +30,16 @@ namespace Handbrake static void Main() { + // Development Code Expiry. + // Remember to comment out on public release!!! + int year = DateTime.Now.Year; + int month = DateTime.Now.Month; + int day = DateTime.Now.Day; + + if ((year > 2007) || (month > 10 )) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } + + + // Check the system meets the system requirements. Boolean launch = true; try diff --git a/win/C#/Properties/AssemblyInfo.cs b/win/C#/Properties/AssemblyInfo.cs index 47a916ce..3485265d 100644 --- a/win/C#/Properties/AssemblyInfo.cs +++ b/win/C#/Properties/AssemblyInfo.cs @@ -1,4 +1,10 @@ -using System.Reflection; +/* AssemblyInfo.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; @@ -7,7 +13,7 @@ using System.Resources; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Handbrake")] -[assembly: AssemblyDescription("DVD Like Source to MPEG-4 converter")] +[assembly: AssemblyDescription("GPL'd DVD Like Source to MPEG-4 converter")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Handbrake")] [assembly: AssemblyProduct("Handbrake")] diff --git a/win/C#/Properties/Resources.Designer.cs b/win/C#/Properties/Resources.Designer.cs index 94b7cc47..0b717dcc 100644 --- a/win/C#/Properties/Resources.Designer.cs +++ b/win/C#/Properties/Resources.Designer.cs @@ -1,4 +1,10 @@ -//------------------------------------------------------------------------------ +/* Resources.Designer.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + +//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.1433 diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs index 607a238e..a6190cca 100644 --- a/win/C#/Properties/Settings.Designer.cs +++ b/win/C#/Properties/Settings.Designer.cs @@ -1,4 +1,10 @@ -//------------------------------------------------------------------------------ +/* Settings.Designer.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + +//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.1433 diff --git a/win/C#/frmAbout.Designer.cs b/win/C#/frmAbout.Designer.cs index 7e9ca1f3..90240bc4 100644 --- a/win/C#/frmAbout.Designer.cs +++ b/win/C#/frmAbout.Designer.cs @@ -1,3 +1,9 @@ +/* frmAbout.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmAbout diff --git a/win/C#/frmAbout.cs b/win/C#/frmAbout.cs index ab1ed265..b2df57ed 100644 --- a/win/C#/frmAbout.cs +++ b/win/C#/frmAbout.cs @@ -1,3 +1,9 @@ +/* frmAbout.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmDownload.Designer.cs b/win/C#/frmDownload.Designer.cs index 02558286..003c6151 100644 --- a/win/C#/frmDownload.Designer.cs +++ b/win/C#/frmDownload.Designer.cs @@ -1,3 +1,9 @@ +/* frmDownload.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmDownload diff --git a/win/C#/frmDownload.cs b/win/C#/frmDownload.cs index 4fdd10dc..69c079ab 100644 --- a/win/C#/frmDownload.cs +++ b/win/C#/frmDownload.cs @@ -1,3 +1,9 @@ +/* frmDownload.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmDvdInfo.Designer.cs b/win/C#/frmDvdInfo.Designer.cs index 88f5cf81..e9c3bea8 100644 --- a/win/C#/frmDvdInfo.Designer.cs +++ b/win/C#/frmDvdInfo.Designer.cs @@ -1,3 +1,9 @@ +/* frmDvdInfo.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmDvdInfo diff --git a/win/C#/frmDvdInfo.cs b/win/C#/frmDvdInfo.cs index ee3a4e5c..60150419 100644 --- a/win/C#/frmDvdInfo.cs +++ b/win/C#/frmDvdInfo.cs @@ -1,3 +1,9 @@ +/* frmDvdInfo.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index a4762ada..9a4721b8 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -1,3 +1,9 @@ +/* frmMain.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmMain diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 85b428b0..c5c2fdf1 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1,3 +1,9 @@ +/* frmMain.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index b5eddd03..2268c95f 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -1,3 +1,9 @@ +/* frmOptions.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmOptions diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index 42e5b045..fe681bdc 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -1,3 +1,9 @@ +/* frmOptions.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmQueue.Designer.cs b/win/C#/frmQueue.Designer.cs index aa0cec41..dfc5cea5 100644 --- a/win/C#/frmQueue.Designer.cs +++ b/win/C#/frmQueue.Designer.cs @@ -1,3 +1,9 @@ +/* frmQueue.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmQueue diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index deb09722..61e07d34 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -1,3 +1,9 @@ +/* frmQueue.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmReadDVD.Designer.cs b/win/C#/frmReadDVD.Designer.cs index 92b54594..903d7fc5 100644 --- a/win/C#/frmReadDVD.Designer.cs +++ b/win/C#/frmReadDVD.Designer.cs @@ -1,3 +1,9 @@ +/* frmReadDVD.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmReadDVD diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs index 6ab82050..d6da8fe4 100644 --- a/win/C#/frmReadDVD.cs +++ b/win/C#/frmReadDVD.cs @@ -1,3 +1,9 @@ +/* frmReadDVD.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmSplashScreen.Designer.cs b/win/C#/frmSplashScreen.Designer.cs index d8231703..caf36fcc 100644 --- a/win/C#/frmSplashScreen.Designer.cs +++ b/win/C#/frmSplashScreen.Designer.cs @@ -1,3 +1,9 @@ +/* frmSplashScreen.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmSplashScreen diff --git a/win/C#/frmSplashScreen.cs b/win/C#/frmSplashScreen.cs index f29cfde0..a60703b3 100644 --- a/win/C#/frmSplashScreen.cs +++ b/win/C#/frmSplashScreen.cs @@ -1,3 +1,9 @@ +/* frmSplashScreen.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/win/C#/frmUpdater.Designer.cs b/win/C#/frmUpdater.Designer.cs index 8897f5bd..a8ddbac5 100644 --- a/win/C#/frmUpdater.Designer.cs +++ b/win/C#/frmUpdater.Designer.cs @@ -1,3 +1,9 @@ +/* frmUpdater.Designer.cs + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + namespace Handbrake { partial class frmUpdater diff --git a/win/C#/frmUpdater.cs b/win/C#/frmUpdater.cs index 05598b3c..9180f6dc 100644 --- a/win/C#/frmUpdater.cs +++ b/win/C#/frmUpdater.cs @@ -1,3 +1,9 @@ +/* frmUpdater.cs $ + + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ + using System; using System.Windows.Forms; using System.IO; -- 2.11.0