summaryrefslogtreecommitdiffstats
path: root/win/C#/Presets
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-01-29 21:29:26 +0000
committersr55 <[email protected]>2011-01-29 21:29:26 +0000
commitc000c50bbcf57320a56a3d923ffba1b1c5849cb1 (patch)
tree7f3c57673e9943f9a52f608c03827ec0c974746d /win/C#/Presets
parentf6581060764a2cfcca6ebd5a70344c8080722eec (diff)
WinGui:
- Refactor the preset service and move to the Application Services. * Left the old service in place for now, will hook the new service in later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3772 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Presets')
-rw-r--r--win/C#/Presets/PlistPresetHandler.cs3
-rw-r--r--win/C#/Presets/Preset.cs43
-rw-r--r--win/C#/Presets/PresetsHandler.cs2
3 files changed, 3 insertions, 45 deletions
diff --git a/win/C#/Presets/PlistPresetHandler.cs b/win/C#/Presets/PlistPresetHandler.cs
index 12731f271..8be15633c 100644
--- a/win/C#/Presets/PlistPresetHandler.cs
+++ b/win/C#/Presets/PlistPresetHandler.cs
@@ -13,10 +13,9 @@ namespace Handbrake.Presets
using System.Xml;
using Functions;
+ using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Model.Encoding;
- using Model;
-
/// <summary>
/// Plist Preset Converter
/// </summary>
diff --git a/win/C#/Presets/Preset.cs b/win/C#/Presets/Preset.cs
deleted file mode 100644
index b6151a3b0..000000000
--- a/win/C#/Presets/Preset.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Preset.cs $
- This file is part of the HandBrake source code.
- Homepage: <http://handbrake.fr>.
- It may be used under the terms of the GNU General Public License. */
-
-namespace Handbrake.Presets
-{
- /// <summary>
- /// A Preset
- /// </summary>
- public class Preset
- {
- /// <summary>
- /// Gets or sets the category which the preset resides under
- /// </summary>
- public string Category { get; set; }
-
- /// <summary>
- /// Gets or sets the preset name
- /// </summary>
- public string Name { get; set; }
-
- /// <summary>
- /// Gets or sets the preset query
- /// </summary>
- public string Query { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether to use picture Settings in presets.
- /// </summary>
- public bool CropSettings { get; set; }
-
- /// <summary>
- /// Gets or sets The version number which associates this preset with a HB build
- /// </summary>
- public string Version { get; set; }
-
- /// <summary>
- /// Gets or sets the Description for the preset
- /// </summary>
- public string Description { get; set; }
- }
-} \ No newline at end of file
diff --git a/win/C#/Presets/PresetsHandler.cs b/win/C#/Presets/PresetsHandler.cs
index 456cdfd8a..40ddeb28a 100644
--- a/win/C#/Presets/PresetsHandler.cs
+++ b/win/C#/Presets/PresetsHandler.cs
@@ -15,6 +15,8 @@ namespace Handbrake.Presets
using System.Windows.Forms;
using System.Xml.Serialization;
+ using HandBrake.ApplicationServices.Model;
+
/// <summary>
/// The Preset Handler Class
/// </summary>