mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-01 16:47:37 +00:00
Response from MPD will be specific type. MpdDirectory and MpdFile created. Metadata for MpdFile still to be done.
This commit is contained in:
21
LibMpc/Types/MpdOutput.cs
Normal file
21
LibMpc/Types/MpdOutput.cs
Normal file
@ -0,0 +1,21 @@
|
||||
namespace LibMpc.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// The MpdOutput class contains all attributes of an output device of the MPD.
|
||||
/// </summary>
|
||||
public class MpdOutput
|
||||
{
|
||||
public MpdOutput(int id, string name, bool enabled)
|
||||
{
|
||||
name.CheckNotNull();
|
||||
|
||||
Id = id;
|
||||
Name = name;
|
||||
IsEnabled = enabled;
|
||||
}
|
||||
|
||||
public int Id { get; }
|
||||
public string Name { get; }
|
||||
public bool IsEnabled { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user