diff options
Diffstat (limited to 'Ryujinx.Ava/UI/Models/DownloadableContentModel.cs')
-rw-r--r-- | Ryujinx.Ava/UI/Models/DownloadableContentModel.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Ryujinx.Ava/UI/Models/DownloadableContentModel.cs b/Ryujinx.Ava/UI/Models/DownloadableContentModel.cs new file mode 100644 index 00000000..3070fc02 --- /dev/null +++ b/Ryujinx.Ava/UI/Models/DownloadableContentModel.cs @@ -0,0 +1,32 @@ +using Ryujinx.Ava.UI.ViewModels; + +namespace Ryujinx.Ava.UI.Models +{ + public class DownloadableContentModel : BaseModel + { + private bool _enabled; + + public bool Enabled + { + get => _enabled; + set + { + _enabled = value; + + OnPropertyChanged(); + } + } + + public string TitleId { get; } + public string ContainerPath { get; } + public string FullPath { get; } + + public DownloadableContentModel(string titleId, string containerPath, string fullPath, bool enabled) + { + TitleId = titleId; + ContainerPath = containerPath; + FullPath = fullPath; + Enabled = enabled; + } + } +}
\ No newline at end of file |