<Compile Include="Interop\Json\Encode\Subtitle.cs" />\r
<Compile Include="Interop\Json\Encode\SubtitleList.cs" />\r
<Compile Include="Interop\Json\Encode\Video.cs" />\r
- <Compile Include="Interop\Json\Factories\AnamorphicFactory.cs" />\r
+ <Compile Include="Interop\Factories\AnamorphicFactory.cs" />\r
<Compile Include="Services\Encode\Factories\EncodeFactory.cs" />\r
- <Compile Include="Interop\Json\Factories\ScanFactory.cs" />\r
+ <Compile Include="Interop\Factories\ScanFactory.cs" />\r
<Compile Include="Interop\Json\Scan\AudioList.cs" />\r
<Compile Include="Interop\Json\Scan\ChapterList.cs" />\r
<Compile Include="Interop\Json\Scan\Color.cs" />\r
<Compile Include="Interop\Model\Scan\Title.cs" />\r
<Compile Include="Interop\Model\Size.cs" />\r
<Compile Include="Interop\Model\SourceVideoInfo.cs" />\r
- <Compile Include="Interop\Model\SourceSubtitle.cs" />\r
- <Compile Include="Interop\Model\SourceType.cs" />\r
<Compile Include="Interop\Model\VideoQualityLimits.cs" />\r
<Compile Include="Services\Encode\Factories\VideoProfileFactory.cs" />\r
<Compile Include="Services\Encode\Factories\VideoPresetFactory.cs" />\r
// </summary>\r
// --------------------------------------------------------------------------------------------------------------------\r
\r
-namespace HandBrake.ApplicationServices.Interop.Json.Factories\r
+namespace HandBrake.ApplicationServices.Interop.Factories\r
{\r
using System;\r
using System.Collections.Generic;\r
/// Keep Width or Height. (Not Display Aspect)\r
/// </param>\r
/// <returns>\r
- /// The <see cref="Scan.Geometry"/>.\r
+ /// The <see cref="HandBrake.ApplicationServices.Interop.Json.Scan.Geometry"/>.\r
/// </returns>\r
public static Geometry CreateGeometry(EncodeTask job, SourceVideoInfo title, KeepSetting keepWidthOrHeight) // Todo remove the need for these objects. Should use simpler objects.\r
{\r
// </summary>\r
// --------------------------------------------------------------------------------------------------------------------\r
\r
-namespace HandBrake.ApplicationServices.Interop.Json.Factories\r
+namespace HandBrake.ApplicationServices.Interop.Factories\r
{\r
using System;\r
using System.Collections.Generic;\r
using System.Windows.Media.Imaging;\r
\r
using HandBrake.ApplicationServices.Interop.EventArgs;\r
+ using HandBrake.ApplicationServices.Interop.Factories;\r
using HandBrake.ApplicationServices.Interop.HbLib;\r
using HandBrake.ApplicationServices.Interop.Helpers;\r
using HandBrake.ApplicationServices.Interop.Interfaces;\r
using HandBrake.ApplicationServices.Interop.Json.Encode;\r
- using HandBrake.ApplicationServices.Interop.Json.Factories;\r
using HandBrake.ApplicationServices.Interop.Json.Scan;\r
using HandBrake.ApplicationServices.Interop.Json.State;\r
using HandBrake.ApplicationServices.Interop.Model;\r
/// </summary>\r
public class PreviewSettings : EncodeTask\r
{\r
+ // TODO flesh this out into a proper model.\r
}\r
}\r
\r
namespace HandBrake.ApplicationServices.Interop.Model\r
{\r
- using System.Windows.Forms;\r
-\r
/// <summary>\r
/// The size.\r
/// </summary>\r
+++ /dev/null
-// --------------------------------------------------------------------------------------------------------------------\r
-// <copyright file="SourceSubtitle.cs" company="HandBrake Project (http://handbrake.fr)">\r
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.\r
-// </copyright>\r
-// <summary>\r
-// Defines the SourceSubtitle type.\r
-// </summary>\r
-// --------------------------------------------------------------------------------------------------------------------\r
-\r
-namespace HandBrake.ApplicationServices.Interop.Model\r
-{\r
- /// <summary>\r
- /// The source subtitle.\r
- /// </summary>\r
- public class SourceSubtitle\r
- {\r
- /// <summary>\r
- /// Gets or sets a value indicating whether the subtitle track should be burned in.\r
- /// </summary>\r
- public bool BurnedIn { get; set; }\r
-\r
- /// <summary>\r
- /// Gets or sets a value indicating whether default.\r
- /// </summary>\r
- public bool Default { get; set; }\r
-\r
- /// <summary>\r
- /// Gets or sets a value indicating whether forced.\r
- /// </summary>\r
- public bool Forced { get; set; }\r
-\r
- /// <summary>\r
- /// Gets or sets the 1-based subtitle track number. 0 means foreign audio search.\r
- /// </summary>\r
- public int TrackNumber { get; set; }\r
-\r
- /// <summary>\r
- /// The clone.\r
- /// </summary>\r
- /// <returns>\r
- /// The <see cref="SourceSubtitle"/>.\r
- /// </returns>\r
- public SourceSubtitle Clone()\r
- {\r
- return new SourceSubtitle\r
- {\r
- TrackNumber = this.TrackNumber, \r
- Default = this.Default, \r
- Forced = this.Forced, \r
- BurnedIn = this.BurnedIn\r
- };\r
- }\r
- }\r
-}
\ No newline at end of file
+++ /dev/null
-// --------------------------------------------------------------------------------------------------------------------\r
-// <copyright file="SourceType.cs" company="HandBrake Project (http://handbrake.fr)">\r
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.\r
-// </copyright>\r
-// <summary>\r
-// Defines the SourceType type.\r
-// </summary>\r
-// --------------------------------------------------------------------------------------------------------------------\r
-\r
-namespace HandBrake.ApplicationServices.Interop.Model\r
-{\r
- /// <summary>\r
- /// The source type.\r
- /// </summary>\r
- public enum SourceType\r
- {\r
- /// <summary>\r
- /// The none.\r
- /// </summary>\r
- None = 0, \r
-\r
- /// <summary>\r
- /// The file.\r
- /// </summary>\r
- File, \r
-\r
- /// <summary>\r
- /// The video folder.\r
- /// </summary>\r
- VideoFolder, \r
-\r
- /// <summary>\r
- /// The dvd.\r
- /// </summary>\r
- Dvd\r
- }\r
-}
\ No newline at end of file
using System.Runtime.InteropServices;\r
\r
using HandBrake.ApplicationServices.Interop;\r
+ using HandBrake.ApplicationServices.Interop.Factories;\r
using HandBrake.ApplicationServices.Interop.HbLib;\r
using HandBrake.ApplicationServices.Interop.Helpers;\r
using HandBrake.ApplicationServices.Interop.Json.Anamorphic;\r
using HandBrake.ApplicationServices.Interop.Json.Encode;\r
- using HandBrake.ApplicationServices.Interop.Json.Factories;\r
using HandBrake.ApplicationServices.Interop.Model;\r
using HandBrake.ApplicationServices.Interop.Model.Encoding;\r
using HandBrake.ApplicationServices.Model;\r
using HandBrake.ApplicationServices.Interop;\r
using HandBrake.ApplicationServices.Interop.EventArgs;\r
using HandBrake.ApplicationServices.Interop.Interfaces;\r
- using HandBrake.ApplicationServices.Interop.Json.Factories;\r
using HandBrake.ApplicationServices.Interop.Model;\r
using HandBrake.ApplicationServices.Services.Encode.Factories;\r
\r