mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Separate out PlayerViewModel (nw)
This commit is contained in:
49
RedBookPlayer/PlayerViewModel.cs
Normal file
49
RedBookPlayer/PlayerViewModel.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user