Separate out PlayerViewModel (nw)

This commit is contained in:
Matt Nadareski
2021-06-06 21:42:14 -07:00
parent 30eab90dfb
commit edae3a7a58

View File

@@ -0,0 +1,49 @@
using ReactiveUI;
namespace RedBookPlayer
{
public class PlayerViewModel : ReactiveObject
{
private bool _applyDeEmphasis;
public bool ApplyDeEmphasis
{
get => _applyDeEmphasis;
set => this.RaiseAndSetIfChanged(ref _applyDeEmphasis, value);
}
private bool _trackHasEmphasis;
public bool TrackHasEmphasis
{
get => _trackHasEmphasis;
set => this.RaiseAndSetIfChanged(ref _trackHasEmphasis, value);
}
private bool _hiddenTrack;
public bool HiddenTrack
{
get => _hiddenTrack;
set => this.RaiseAndSetIfChanged(ref _hiddenTrack, value);
}
private bool _copyAllowed;
public bool CopyAllowed
{
get => _copyAllowed;
set => this.RaiseAndSetIfChanged(ref _copyAllowed, value);
}
private bool _isAudioTrack;
public bool IsAudioTrack
{
get => _isAudioTrack;
set => this.RaiseAndSetIfChanged(ref _isAudioTrack, value);
}
private bool _isDataTrack;
public bool IsDataTrack
{
get => _isDataTrack;
set => this.RaiseAndSetIfChanged(ref _isDataTrack, value);
}
}
}