From 338209fece85b5f79dfa89991827c50f7670a38a Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 6 Jun 2010 14:09:39 +0000 Subject: [PATCH] WinGui: #interop - Use Drawing.Size instead of using a model. git-svn-id: svn://localhost/HandBrake/trunk@3358 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/interop/HandBrakeInstance.cs | 2 ++ win/C#/interop/HandBrakeInterop.csproj | 1 - win/C#/interop/Model/Size.cs | 42 ---------------------------------- win/C#/interop/SourceData/Title.cs | 2 ++ 4 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 win/C#/interop/Model/Size.cs diff --git a/win/C#/interop/HandBrakeInstance.cs b/win/C#/interop/HandBrakeInstance.cs index a636a1b6..26ab9941 100644 --- a/win/C#/interop/HandBrakeInstance.cs +++ b/win/C#/interop/HandBrakeInstance.cs @@ -7,6 +7,8 @@ // // -------------------------------------------------------------------------------------------------------------------- +using System.Drawing; + namespace HandBrake.Interop { using System; diff --git a/win/C#/interop/HandBrakeInterop.csproj b/win/C#/interop/HandBrakeInterop.csproj index 32728692..1379139d 100644 --- a/win/C#/interop/HandBrakeInterop.csproj +++ b/win/C#/interop/HandBrakeInterop.csproj @@ -100,7 +100,6 @@ - diff --git a/win/C#/interop/Model/Size.cs b/win/C#/interop/Model/Size.cs deleted file mode 100644 index c56842c0..00000000 --- a/win/C#/interop/Model/Size.cs +++ /dev/null @@ -1,42 +0,0 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// 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 -{ - /// - /// Picture Size - /// - public class Size - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The width. - /// - /// - /// The height. - /// - public Size(int width, int height) - { - this.Width = width; - this.Height = height; - } - - /// - /// Gets or sets Width. - /// - public int Width { get; set; } - - /// - /// Gets or sets Height. - /// - public int Height { get; set; } - } -} diff --git a/win/C#/interop/SourceData/Title.cs b/win/C#/interop/SourceData/Title.cs index 61d6a6f6..04997799 100644 --- a/win/C#/interop/SourceData/Title.cs +++ b/win/C#/interop/SourceData/Title.cs @@ -7,6 +7,8 @@ // // -------------------------------------------------------------------------------------------------------------------- +using System.Drawing; + namespace HandBrake.Interop.SourceData { using System; -- 2.11.0