mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add model for media.
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using Avalonia.Media.Imaging;
|
||||
|
||||
namespace Aaru.Gui.Models
|
||||
{
|
||||
public class DeviceModel
|
||||
{
|
||||
public DeviceModel() => Media = new ObservableCollection<MediaModel>();
|
||||
|
||||
public Bitmap Icon { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Path { get; set; }
|
||||
|
||||
public ObservableCollection<MediaModel> Media { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user