2020-04-11 21:04:20 +01:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using Aaru.CommonTypes.Interfaces;
|
|
|
|
|
using Avalonia.Media.Imaging;
|
|
|
|
|
|
2020-04-11 04:35:38 +01:00
|
|
|
namespace Aaru.Gui.Models
|
|
|
|
|
{
|
2020-04-11 21:04:20 +01:00
|
|
|
public class ImageModel
|
|
|
|
|
{
|
|
|
|
|
public ImageModel() => PartitionSchemesOrFileSystems = new ObservableCollection<RootModel>();
|
|
|
|
|
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
public Bitmap Icon { get; set; }
|
|
|
|
|
public ObservableCollection<RootModel> PartitionSchemesOrFileSystems { get; }
|
|
|
|
|
public IMediaImage Image { get; set; }
|
|
|
|
|
}
|
2020-04-11 04:35:38 +01:00
|
|
|
}
|