diff --git a/RedBookPlayer/PlayerViewModel.cs b/RedBookPlayer/PlayerViewModel.cs new file mode 100644 index 0000000..a44dcc4 --- /dev/null +++ b/RedBookPlayer/PlayerViewModel.cs @@ -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); + } + } +} \ No newline at end of file