mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
57 lines
1.1 KiB
C#
57 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace CUETools.Codecs.CommandLine
|
|
{
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class DecoderSettings : AudioDecoderSettings
|
|
{
|
|
public override string Name => name;
|
|
|
|
public override string Extension => extension;
|
|
|
|
public DecoderSettings()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public DecoderSettings(
|
|
string _name,
|
|
string _extension,
|
|
string _path,
|
|
string _parameters)
|
|
: base()
|
|
{
|
|
name = _name;
|
|
extension = _extension;
|
|
Path = _path;
|
|
Parameters = _parameters;
|
|
}
|
|
|
|
[JsonProperty]
|
|
public string name;
|
|
|
|
[JsonProperty]
|
|
public string extension;
|
|
|
|
[DefaultValue(null)]
|
|
[JsonProperty]
|
|
public string Path
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DefaultValue(null)]
|
|
[JsonProperty]
|
|
public string Parameters
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|