From 70724f0373ea7c2365c8083ef0bf71536198faa7 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 9 Jul 2011 20:05:45 +0000 Subject: [PATCH] WinGui: Added file headers to the interop library, and corrected a number of incorrect namespaces. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4092 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrakeInterop/Converters.cs | 20 ++++++++--- .../EncodeCompletedEventArgs.cs | 11 ++++++- .../EncodeProgressEventArgs.cs | 11 ++++++- .../HandBrakeInterop/HandBrakeInstance.cs | 17 ++++++++-- .../HandBrakeInterop/HandBrakeUtils.cs | 20 ++++++++--- .../HandBrakeInterop/HbLib/HbFunctions.cs | 25 ++++++++------ .../HandBrakeInterop/HbLib/Misc.cs | 25 ++++++++------ .../HandBrakeInterop/HbLib/NativeConstants.cs | 12 +++++-- .../HandBrakeInterop/HbLib/hb_audio.cs | 25 ++++++++------ .../HandBrakeInterop/HbLib/hb_chapter_s.cs | 20 +++++++---- .../HandBrakeInterop/HbLib/hb_handle_s.cs | 22 +++++++++---- .../HandBrakeInterop/HbLib/hb_job_s.cs | 22 +++++++++---- .../HandBrakeInterop/HbLib/hb_subtitle.cs | 22 +++++++++---- .../HandBrakeInterop/HbLib/hb_title_s.cs | 22 +++++++++---- .../HandBrakeInterop/InteropUtilities.cs | 17 +++++++--- .../HandBrakeInterop/Language.cs | 18 ++++++---- .../HandBrakeInterop/LanguageCodes.cs | 18 ++++++---- .../HandBrakeInterop/MarshalingConstants.cs | 11 ++++++- .../MessageLoggedEventArgs.cs | 11 ++++++- .../HandBrakeInterop/Model/Cropping.cs | 11 ++++++- .../HandBrakeInterop/Model/EncodeJob.cs | 22 +++++++++---- .../Model/Encoding/Anamorphic.cs | 15 +++++++-- .../Model/Encoding/AudioEncoder.cs | 15 +++++++-- .../Model/Encoding/AudioEncoding.cs | 15 +++++++-- .../HandBrakeInterop/Model/Encoding/Decomb.cs | 11 ++++++- .../Model/Encoding/Deinterlace.cs | 11 ++++++- .../Model/Encoding/Denoise.cs | 11 ++++++- .../Model/Encoding/Detelecine.cs | 11 ++++++- .../Model/Encoding/EncodingProfile.cs | 17 ++++++++-- .../Model/Encoding/Mixdown.cs | 15 +++++++-- .../Model/Encoding/OutputExtension.cs | 11 ++++++- .../Model/Encoding/OutputFormat.cs | 15 +++++++-- .../Model/Encoding/VideoEncodeRateType.cs | 11 ++++++- .../Model/Encoding/VideoEncoder.cs | 15 +++++++-- .../HandBrakeInterop/Model/Limits.cs | 11 ++++++- .../HandBrakeInterop/Model/Size.cs | 11 ++++++- .../HandBrakeInterop/Model/SourceSubtitle.cs | 11 ++++++- .../HandBrakeInterop/Model/SourceType.cs | 11 ++++++- .../HandBrakeInterop/Model/SrtSubtitle.cs | 11 ++++++- .../HandBrakeInterop/Model/Subtitles.cs | 15 +++++++-- .../HandBrakeInterop/Model/VideoRangeType.cs | 15 +++++++-- .../HandBrakeInterop/NativeList.cs | 15 ++++++--- .../Properties/AssemblyInfo.cs | 4 +-- .../HandBrakeInterop/ScanProgressEventArgs.cs | 11 ++++++- .../HandBrakeInterop/Settings.StyleCop | 29 ++++++++++++++-- .../HandBrakeInterop/SourceData/AudioCodec.cs | 11 ++++++- .../HandBrakeInterop/SourceData/AudioTrack.cs | 17 ++++++---- .../HandBrakeInterop/SourceData/Chapter.cs | 19 ++++++----- .../HandBrakeInterop/SourceData/InputType.cs | 15 +++++++-- .../HandBrakeInterop/SourceData/Subtitle.cs | 17 ++++++---- .../SourceData/SubtitleSource.cs | 11 ++++++- .../SourceData/SubtitleType.cs | 11 ++++++- .../HandBrakeInterop/SourceData/Title.cs | 33 ++++++++++--------- .../HandBrakeInterop/Utilities.cs | 18 ++++++---- 54 files changed, 649 insertions(+), 202 deletions(-) diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs index 78cc12845..cbe3cce9f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs @@ -1,12 +1,22 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Converters type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; using System.Collections.Generic; - using System.Linq; - using System.Text; - using HandBrake.SourceData; - public static class Converters + using HandBrake.Interop.HbLib; + using HandBrake.Interop.Model.Encoding; + using HandBrake.Interop.SourceData; + + public static class Converters { private static Dictionary vrates = new Dictionary { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeCompletedEventArgs.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeCompletedEventArgs.cs index 77c5b0a85..17e196e59 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeCompletedEventArgs.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeCompletedEventArgs.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the EncodeCompletedEventArgs type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs index 9f8da0d9e..3a7429057 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/EncodeProgressEventArgs.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the EncodeProgressEventArgs type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs index d8db397fc..baa159c2f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// A wrapper for a HandBrake instance. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; using System.Collections.Generic; @@ -9,7 +18,11 @@ using System.Timers; using System.Threading; using System.Windows.Media.Imaging; - using HandBrake.SourceData; + + using HandBrake.Interop.HbLib; + using HandBrake.Interop.Model; + using HandBrake.Interop.Model.Encoding; + using HandBrake.Interop.SourceData; using HandBrake.Interop; /// diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs index 3a48037e1..e76d41e82 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs @@ -1,11 +1,23 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the HandBrakeUtils type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; using System.Collections.Generic; - using System.Linq; - using HandBrake.SourceData; - public static class HandBrakeUtils + using HandBrake.Interop.HbLib; + using HandBrake.Interop.Model; + using HandBrake.Interop.Model.Encoding; + using HandBrake.Interop.SourceData; + + public static class HandBrakeUtils { /// /// Estimated overhead in bytes for each frame in output container. diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs index dda6876f3..7e87475cc 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs @@ -1,14 +1,19 @@ -// - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Text; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the HBFunctions type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - public static class HBFunctions + using System; + using System.Runtime.InteropServices; + + public static class HBFunctions { [DllImport("hb.dll", EntryPoint = "hb_register_logger", CallingConvention = CallingConvention.Cdecl)] public static extern void hb_register_logger(LoggingCallback callback); diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/Misc.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/Misc.cs index 5b275399f..40af719c5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/Misc.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/Misc.cs @@ -1,14 +1,19 @@ -// - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_anamorphic_substruct type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential)] public struct hb_anamorphic_substruct { /// int diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/NativeConstants.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/NativeConstants.cs index 8ab215cae..601f65526 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/NativeConstants.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/NativeConstants.cs @@ -1,6 +1,14 @@ -// +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the NativeConstants type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- -namespace HandBrake.Interop +namespace HandBrake.Interop.HbLib { public partial class NativeConstants { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_audio.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_audio.cs index 6e9aff471..377a52137 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_audio.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_audio.cs @@ -1,14 +1,19 @@ -// - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Text; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_audio_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential)] public struct hb_audio_s { /// int diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_chapter_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_chapter_s.cs index 05a42b923..616b46013 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_chapter_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_chapter_s.cs @@ -1,10 +1,18 @@ -// - -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_chapter_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct hb_chapter_s { /// int diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_handle_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_handle_s.cs index 089afd377..f4470bcfb 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_handle_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_handle_s.cs @@ -1,11 +1,19 @@ -// - -using System; -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_handle_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct hb_handle_s { public int id; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_job_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_job_s.cs index d33bd4723..d9d10dd2f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_job_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_job_s.cs @@ -1,11 +1,19 @@ -// - -using System; -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_job_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential)] public struct hb_job_s { /// int diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_subtitle.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_subtitle.cs index e784f3ce6..5365e2ebe 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_subtitle.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_subtitle.cs @@ -1,11 +1,19 @@ -// - -using System; -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_subtitle_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct hb_subtitle_s { /// int diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_title_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_title_s.cs index dddcdadf5..b10dbf6ac 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_title_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_title_s.cs @@ -1,11 +1,19 @@ -// - -using System; -using System.Runtime.InteropServices; - -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the hb_title_s type. +// +// Disable Stylecop Warnings for this file +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.HbLib { - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] + using System; + using System.Runtime.InteropServices; + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct hb_title_s { /// Anonymous_990d28ea_6cf3_4fbc_8143_4df9513e9550 diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/InteropUtilities.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/InteropUtilities.cs index c04854959..40c2571a9 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/InteropUtilities.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/InteropUtilities.cs @@ -1,12 +1,21 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Helper utilities for native interop. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; using System.Collections.Generic; - using System.Linq; - using System.Text; using System.Runtime.InteropServices; - /// + using HandBrake.Interop.HbLib; + + /// /// Helper utilities for native interop. /// public static class InteropUtilities diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Language.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Language.cs index 2bc4ff329..ec55ffeaf 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Language.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Language.cs @@ -1,11 +1,15 @@ -namespace HandBrake.Interop -{ - using System; - using System.Collections.Generic; - using System.Linq; - using System.Text; +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Represents a language. +// +// -------------------------------------------------------------------------------------------------------------------- - /// +namespace HandBrake.Interop +{ + /// /// Represents a language. /// public class Language diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/LanguageCodes.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/LanguageCodes.cs index 2e0bac7b4..373dcb816 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/LanguageCodes.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/LanguageCodes.cs @@ -1,11 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Contains utilities for converting language codes. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { - using System; - using System.Collections.Generic; - using System.Linq; - using System.Text; + using System.Collections.Generic; - /// + /// /// Contains utilities for converting language codes. /// public static class LanguageCodes diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/MarshalingConstants.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/MarshalingConstants.cs index df7c953ad..eec8a04fc 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/MarshalingConstants.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/MarshalingConstants.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the MarshalingConstants type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { public static class MarshalingConstants { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/MessageLoggedEventArgs.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/MessageLoggedEventArgs.cs index 98bd94aaf..8850daff5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/MessageLoggedEventArgs.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/MessageLoggedEventArgs.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the MessageLoggedEventArgs type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs index efd979fc4..b13526c1e 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Cropping type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public class Cropping { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/EncodeJob.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/EncodeJob.cs index 7d1b8234a..11310f96e 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/EncodeJob.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/EncodeJob.cs @@ -1,11 +1,21 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the EncodeJob type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { - using System; - using System.Collections.Generic; - using System.Linq; - using System.Xml.Serialization; + using System; + using System.Collections.Generic; + using System.Xml.Serialization; + + using HandBrake.Interop.Model.Encoding; - public class EncodeJob + public class EncodeJob { public SourceType SourceType { get; set; } public string SourcePath { get; set; } diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Anamorphic.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Anamorphic.cs index 772a908a5..2051c2b63 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Anamorphic.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Anamorphic.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Anamorphic type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum Anamorphic + public enum Anamorphic { [Display(Name = "None")] None = 0, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs index aff0a30d5..16de0fefa 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoder.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the AudioEncoder type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum AudioEncoder + public enum AudioEncoder { [Display(Name = "AAC (faac)")] Faac = 0, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs index 49be026d4..81b529918 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/AudioEncoding.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the AudioEncoding type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System; + using System; - public class AudioEncoding + public class AudioEncoding { public int InputNumber { get; set; } public AudioEncoder Encoder { get; set; } diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Decomb.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Decomb.cs index 24cb66fb4..f56e6f03e 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Decomb.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Decomb.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Decomb type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum Decomb { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Deinterlace.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Deinterlace.cs index 2a5c97290..45f1f6136 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Deinterlace.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Deinterlace.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Deinterlace type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum Deinterlace { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Denoise.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Denoise.cs index 509e165a2..74c53e039 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Denoise.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Denoise.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Denoise type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum Denoise { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Detelecine.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Detelecine.cs index 6075718c6..189b7441f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Detelecine.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Detelecine.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Detelecine type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum Detelecine { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs index 7f071bb81..d0e930786 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/EncodingProfile.cs @@ -1,8 +1,19 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the EncodingProfile type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.Collections.Generic; + using System.Collections.Generic; + + using HandBrake.Interop.Model; - public class EncodingProfile + public class EncodingProfile { public EncodingProfile() { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs index 5731d5de2..5ff1cc26f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/Mixdown.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Mixdown type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum Mixdown + public enum Mixdown { [Display(Name = "Dolby Pro Logic II")] DolbyProLogicII = 0, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputExtension.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputExtension.cs index df2319262..ff8e89fda 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputExtension.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputExtension.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the OutputExtension type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum OutputExtension { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputFormat.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputFormat.cs index 741abcb0d..8251dc9d5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputFormat.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/OutputFormat.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the OutputFormat type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum OutputFormat + public enum OutputFormat { [Display(Name = "MP4")] Mp4, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncodeRateType.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncodeRateType.cs index 13859b574..b3374de36 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncodeRateType.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncodeRateType.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the VideoEncodeRateType type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { public enum VideoEncodeRateType { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs index 6a5c13821..f0faac2ba 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the VideoEncoder type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum VideoEncoder + public enum VideoEncoder { [Display(Name = "H.264 (x264)")] X264 = 0, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Limits.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Limits.cs index d462aaabd..7b0d9a25f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Limits.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Limits.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Limits type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public class Limits { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Size.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Size.cs index 966935a22..a06894cc5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Size.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Size.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Size type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public class Size { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceSubtitle.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceSubtitle.cs index 7a8689ae9..13344dd58 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceSubtitle.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceSubtitle.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the SourceSubtitle type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public class SourceSubtitle { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceType.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceType.cs index f0a227cad..9ea7a07af 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceType.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceType.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the SourceType type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public enum SourceType { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SrtSubtitle.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SrtSubtitle.cs index b2aad8b24..945cc236a 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SrtSubtitle.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SrtSubtitle.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the SrtSubtitle type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { public class SrtSubtitle { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Subtitles.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Subtitles.cs index 585198295..4289375c0 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Subtitles.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Subtitles.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Subtitles type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { - using System.Collections.Generic; + using System.Collections.Generic; - public class Subtitles + public class Subtitles { public List SrtSubtitles { get; set; } public List SourceSubtitles { get; set; } diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/VideoRangeType.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/VideoRangeType.cs index 3e6684e91..2a42928a5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/VideoRangeType.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/VideoRangeType.cs @@ -1,8 +1,17 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the VideoRangeType type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum VideoRangeType + public enum VideoRangeType { [Display(Name = "Chapters")] Chapters, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs index 6d39bb8f4..1b01a87db 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs @@ -1,11 +1,18 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Represents a HandBrake style native list. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; using System.Collections.Generic; - using System.Linq; - using System.Text; - /// + /// /// Represents a HandBrake style native list. /// public class NativeList diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Properties/AssemblyInfo.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Properties/AssemblyInfo.cs index 7e74d7e2a..eadb6162d 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Properties/AssemblyInfo.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.18.0.0")] -[assembly: AssemblyFileVersion("1.18.0.0")] +[assembly: AssemblyVersion("1.19.0.0")] +[assembly: AssemblyFileVersion("1.19.0.0")] diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/ScanProgressEventArgs.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/ScanProgressEventArgs.cs index e9f06715a..2b96f8468 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/ScanProgressEventArgs.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/ScanProgressEventArgs.cs @@ -1,4 +1,13 @@ -namespace HandBrake.Interop +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the ScanProgressEventArgs type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop { using System; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Settings.StyleCop b/win/CS/HandBrake.Interop/HandBrakeInterop/Settings.StyleCop index 019a50ed6..b34002f52 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Settings.StyleCop +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Settings.StyleCop @@ -1,6 +1,6 @@ - + - + @@ -10,5 +10,30 @@ + + + + + True + + + + + True + + + + + True + + + + + True + + + + + \ No newline at end of file diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioCodec.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioCodec.cs index a2bb5a105..91058e2b8 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioCodec.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioCodec.cs @@ -1,4 +1,13 @@ -namespace HandBrake.SourceData +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the AudioCodec type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.SourceData { // Only contains 2 real codecs at the moment as those are what we care about. More will be added later. public enum AudioCodec diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioTrack.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioTrack.cs index 5940159dc..29857d1e0 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioTrack.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/AudioTrack.cs @@ -1,12 +1,15 @@ -/* 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. */ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// An object represending an AudioTrack associated with a Title, in a DVD +// +// -------------------------------------------------------------------------------------------------------------------- -namespace HandBrake.SourceData +namespace HandBrake.Interop.SourceData { - /// + /// /// An object represending an AudioTrack associated with a Title, in a DVD /// public class AudioTrack diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Chapter.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Chapter.cs index 18a606b6a..49d2e2b85 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Chapter.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Chapter.cs @@ -1,14 +1,17 @@ -/* 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. */ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// An object representing a Chapter aosciated with a Title, in a DVD +// +// -------------------------------------------------------------------------------------------------------------------- -namespace HandBrake.SourceData +namespace HandBrake.Interop.SourceData { - using System; + using System; - /// + /// /// An object representing a Chapter aosciated with a Title, in a DVD /// public class Chapter diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/InputType.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/InputType.cs index c8379852f..a00e084bb 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/InputType.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/InputType.cs @@ -1,8 +1,17 @@ -namespace HandBrake.SourceData +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the InputType type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.SourceData { - using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations; - public enum InputType + public enum InputType { [Display(Name = "File")] Stream, diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Subtitle.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Subtitle.cs index 0d4ce3068..a8ddd8b2f 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Subtitle.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Subtitle.cs @@ -1,12 +1,15 @@ -/* 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. */ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// An object that represents a subtitle associated with a Title, in a DVD +// +// -------------------------------------------------------------------------------------------------------------------- -namespace HandBrake.SourceData +namespace HandBrake.Interop.SourceData { - /// + /// /// An object that represents a subtitle associated with a Title, in a DVD /// public class Subtitle diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs index 04d267950..9b04e1652 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs @@ -1,4 +1,13 @@ -namespace HandBrake.SourceData +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the SubtitleSource type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.SourceData { public enum SubtitleSource { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleType.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleType.cs index 07c2c1107..e419c4451 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleType.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleType.cs @@ -1,4 +1,13 @@ -namespace HandBrake.SourceData +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the SubtitleType type. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.SourceData { public enum SubtitleType { diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs index 2dfc1a418..be4f8a306 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs @@ -1,19 +1,22 @@ -/* 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. */ - -namespace HandBrake.SourceData +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// An object that represents a single Title of a DVD +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.SourceData { - using System; - using System.Collections.Generic; - using System.Globalization; - using System.IO; - using System.Text.RegularExpressions; - using HandBrake.Interop; - - /// + using System; + using System.Collections.Generic; + using System.Globalization; + + using HandBrake.Interop; + using HandBrake.Interop.Model; + + /// /// An object that represents a single Title of a DVD /// public class Title diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs index 7e9ee4311..e08d3f17c 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs @@ -1,11 +1,15 @@ -namespace HandBrake.Interop -{ - using System; - using System.Collections.Generic; - using System.Linq; - using System.Text; +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// Defines the Utilities type. +// +// -------------------------------------------------------------------------------------------------------------------- - public static class Utilities +namespace HandBrake.Interop +{ + public static class Utilities { public static int GreatestCommonFactor(int a, int b) { -- 2.40.0