diff options
-rw-r--r-- | win/CS/HandBrakeWPF/Model/Worker/EncodeCommand.cs | 20 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Model/Worker/InitCommand.cs | 28 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Model/Worker/LogMessage.cs | 24 |
3 files changed, 72 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/Worker/EncodeCommand.cs b/win/CS/HandBrakeWPF/Model/Worker/EncodeCommand.cs new file mode 100644 index 000000000..6f83ce10c --- /dev/null +++ b/win/CS/HandBrakeWPF/Model/Worker/EncodeCommand.cs @@ -0,0 +1,20 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="EncodeCommand.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 EncodeCommand type. +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Model.Worker +{ + using HandBrake.Interop.Interop.Json.Encode; + + public class EncodeCommand + { + public InitCommand InitialiseCommand { get; set; } + + public JsonEncodeObject EncodeJob { get; set; } + } +} diff --git a/win/CS/HandBrakeWPF/Model/Worker/InitCommand.cs b/win/CS/HandBrakeWPF/Model/Worker/InitCommand.cs new file mode 100644 index 000000000..e25125be5 --- /dev/null +++ b/win/CS/HandBrakeWPF/Model/Worker/InitCommand.cs @@ -0,0 +1,28 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="InitCommand.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 InitCommand type. +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Model.Worker +{ + public class InitCommand + { + public int LogVerbosity { get; set; } + + public string LogDirectory { get; set; } + + public string LogFile { get; set; } + + public bool EnableDiskLogging { get; set; } + + public bool EnableHardwareAcceleration { get; set; } + + public bool DisableLibDvdNav { get; set; } + + public bool AllowDisconnectedWorker { get; set; } + } +} diff --git a/win/CS/HandBrakeWPF/Model/Worker/LogMessage.cs b/win/CS/HandBrakeWPF/Model/Worker/LogMessage.cs new file mode 100644 index 000000000..f8321ebf4 --- /dev/null +++ b/win/CS/HandBrakeWPF/Model/Worker/LogMessage.cs @@ -0,0 +1,24 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="LogMessage.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> +// An Immutable log message +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Model.Logging +{ + public class LogMessage + { + public LogMessage(string content, int messageIndex) + { + this.Content = content; + this.MessageIndex = messageIndex; + } + + public string Content { get; private set; } + + public int MessageIndex { get; private set; } + } +} |