summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-06 14:09:39 +0000
committersr55 <[email protected]>2010-06-06 14:09:39 +0000
commit62d42d9f7a808d0f5f5432b26f88f977f13269dc (patch)
tree15a618da499ea685808975769ee288852d7bd0fc /win
parentbf5570e6b21bc049009f480e7116fe0b44223e45 (diff)
WinGui:
#interop - Use Drawing.Size instead of using a model. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-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;