diff options
author | sr55 <[email protected]> | 2017-04-13 19:46:15 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-04-13 19:46:15 +0100 |
commit | 5dd46e3d4b9029e33a353b9962fea3b8c3c399e4 (patch) | |
tree | d34c164db76b181704d7844af98f350f2502c5b5 /win/CS/HandBrakeWPF/Services | |
parent | e568d96f313009f5dd32bd850a48b9ac1a37a56b (diff) |
WinGui: Strip out some out some legacy code that was causing some threading issues.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
6 files changed, 11 insertions, 13 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs index 9663ae66c..4d0da57fe 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/EncodeTask.cs @@ -12,11 +12,12 @@ namespace HandBrakeWPF.Services.Encode.Model using System.Collections.Generic; using System.Collections.ObjectModel; + using Caliburn.Micro; + using HandBrake.ApplicationServices.Interop.Model; using HandBrake.ApplicationServices.Interop.Model.Encoding; using HandBrakeWPF.Services.Encode.Model.Models; - using HandBrakeWPF.Utilities; using AllowedPassthru = HandBrakeWPF.Services.Encode.Model.Models.AllowedPassthru; using AudioTrack = HandBrakeWPF.Services.Encode.Model.Models.AudioTrack; diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioTrack.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioTrack.cs index 8d7047a5b..7cc073125 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioTrack.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioTrack.cs @@ -14,12 +14,12 @@ namespace HandBrakeWPF.Services.Encode.Model.Models using System.ComponentModel; using System.Globalization; using System.Linq; - using System.Security; + + using Caliburn.Micro; using HandBrake.ApplicationServices.Interop; using HandBrake.ApplicationServices.Interop.Model; using HandBrake.ApplicationServices.Interop.Model.Encoding; - using HandBrake.ApplicationServices.Utilities; using HandBrakeWPF.Model.Audio; using HandBrakeWPF.Services.Scan.Model; diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/ChapterMarker.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/ChapterMarker.cs index e2fdb25e3..c699ec39c 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/ChapterMarker.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/ChapterMarker.cs @@ -11,7 +11,7 @@ namespace HandBrakeWPF.Services.Encode.Model.Models { using System; - using HandBrakeWPF.Utilities; + using Caliburn.Micro; /// <summary> /// A Movie Chapter diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs index b19fc80f4..fe62a5a23 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs @@ -11,10 +11,11 @@ namespace HandBrakeWPF.Services.Encode.Model.Models { using System; + using Caliburn.Micro; + using HandBrake.ApplicationServices.Utilities; using HandBrakeWPF.Services.Scan.Model; - using HandBrakeWPF.Utilities; /// <summary> /// Subtitle Information diff --git a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs index 8c0ff34c8..1afeefb94 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs @@ -9,10 +9,11 @@ namespace HandBrakeWPF.Services.Presets.Model
{
+ using Caliburn.Micro;
+
using HandBrakeWPF.Model.Audio;
using HandBrakeWPF.Model.Subtitles;
using HandBrakeWPF.Services.Presets.Interfaces;
- using HandBrakeWPF.Utilities;
using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask;
using PresetPictureSettingsMode = HandBrakeWPF.Model.Picture.PresetPictureSettingsMode;
@@ -20,11 +21,6 @@ namespace HandBrakeWPF.Services.Presets.Model /// <summary>
/// A Preset for encoding with.
/// </summary>
- /// <remarks>
- /// Using App Services PropertyChangedBase because Caliburn Micro has [DataContract] on their base class which causes json.net not to serialise properties without [DataContract]
- /// https://github.com/Caliburn-Micro/Caliburn.Micro/issues/89
- /// https://github.com/Caliburn-Micro/Caliburn.Micro/issues/96
- /// </remarks>
public class Preset : PropertyChangedBase, IPresetObject // Delibery not
{
#region Constants and Fields
diff --git a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueTask.cs b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueTask.cs index ac1b28d94..e8813930d 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueTask.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueTask.cs @@ -9,9 +9,9 @@ namespace HandBrakeWPF.Services.Queue.Model
{
- using HandBrake.ApplicationServices.Model;
+ using Caliburn.Micro;
- using HandBrakeWPF.Utilities;
+ using HandBrake.ApplicationServices.Model;
using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask;
|