summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/interop/HandBrakeInstance.cs2
-rw-r--r--win/C#/interop/HandBrakeInterop.csproj1
-rw-r--r--win/C#/interop/Model/Size.cs42
-rw-r--r--win/C#/interop/SourceData/Title.cs2
4 files changed, 4 insertions, 43 deletions
diff --git a/win/C#/interop/HandBrakeInstance.cs b/win/C#/interop/HandBrakeInstance.cs
index a636a1b6a..26ab99413 100644
--- a/win/C#/interop/HandBrakeInstance.cs
+++ b/win/C#/interop/HandBrakeInstance.cs
@@ -7,6 +7,8 @@
// </summary>
// --------------------------------------------------------------------------------------------------------------------
+using System.Drawing;
+
namespace HandBrake.Interop
{
using System;
diff --git a/win/C#/interop/HandBrakeInterop.csproj b/win/C#/interop/HandBrakeInterop.csproj
index 327286921..1379139db 100644
--- a/win/C#/interop/HandBrakeInterop.csproj
+++ b/win/C#/interop/HandBrakeInterop.csproj
@@ -100,7 +100,6 @@
<Compile Include="Model\Encoding\OutputFormat.cs" />
<Compile Include="Model\Encoding\VideoEncoder.cs" />
<Compile Include="Model\Encoding\VideoEncodeRateType.cs" />
- <Compile Include="Model\Size.cs" />
<Compile Include="Model\SourceSubtitle.cs" />
<Compile Include="Model\SourceType.cs" />
<Compile Include="Model\SrtSubtitle.cs" />
diff --git a/win/C#/interop/Model/Size.cs b/win/C#/interop/Model/Size.cs
deleted file mode 100644
index c56842c07..000000000
--- a/win/C#/interop/Model/Size.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="Size.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Defines the Size type.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.Interop.Model
-{
- /// <summary>
- /// Picture Size
- /// </summary>
- public class Size
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="Size"/> class.
- /// </summary>
- /// <param name="width">
- /// The width.
- /// </param>
- /// <param name="height">
- /// The height.
- /// </param>
- public Size(int width, int height)
- {
- this.Width = width;
- this.Height = height;
- }
-
- /// <summary>
- /// Gets or sets Width.
- /// </summary>
- public int Width { get; set; }
-
- /// <summary>
- /// Gets or sets Height.
- /// </summary>
- public int Height { get; set; }
- }
-}
diff --git a/win/C#/interop/SourceData/Title.cs b/win/C#/interop/SourceData/Title.cs
index 61d6a6f68..049977991 100644
--- a/win/C#/interop/SourceData/Title.cs
+++ b/win/C#/interop/SourceData/Title.cs
@@ -7,6 +7,8 @@
// </summary>
// --------------------------------------------------------------------------------------------------------------------
+using System.Drawing;
+
namespace HandBrake.Interop.SourceData
{
using System;