From 0be4e18bacefa6b7bc63731b4a004a6ff772af20 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 3 May 2015 17:18:59 +0000 Subject: WinGui: Some Model Re-factoring by RandomEngy git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7151 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Interop/Model/Preview/PreviewSettings.cs | 73 +++++++++++++++------- 1 file changed, 49 insertions(+), 24 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Interop/Model') diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs index e2a07d1cc..af1a166ce 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Preview/PreviewSettings.cs @@ -6,27 +6,52 @@ // The preview settings. // // -------------------------------------------------------------------------------------------------------------------- - -namespace HandBrake.ApplicationServices.Interop.Model.Preview -{ - using HandBrake.ApplicationServices.Services.Encode.Model; - - /// - /// The preview settings. - /// - public class PreviewSettings : EncodeTask - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The task. - /// - public PreviewSettings(EncodeTask task) - : base(task) - { - } - - // TODO flesh this out into a proper model. - } -} + +namespace HandBrake.ApplicationServices.Interop.Model.Preview +{ + using HandBrake.ApplicationServices.Interop.Model.Encoding; + using HandBrake.ApplicationServices.Services.Encode.Model; + + /// + /// The preview settings. + /// + public class PreviewSettings + { + /// + /// Initializes a new instance of the class. + /// + public PreviewSettings() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The task. + public PreviewSettings(EncodeTask task) + { + } + + public Cropping Cropping { get; set; } + + public int MaxWidth { get; set; } + + public int MaxHeight { get; set; } + + public bool KeepDisplayAspect { get; set; } + + public int TitleNumber { get; set; } + + public Anamorphic Anamorphic { get; set; } + + public int? Modulus { get; set; } + + public int Width { get; set; } + + public int Height { get; set; } + + public int PixelAspectX { get; set; } + + public int PixelAspectY { get; set; } + } +} -- cgit v1.2.3