mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move opening image code from Eto to Avalonia.
This commit is contained in:
16
Aaru.Gui/Models/PartitionModel.cs
Normal file
16
Aaru.Gui/Models/PartitionModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using Aaru.CommonTypes;
|
||||
using Avalonia.Media.Imaging;
|
||||
|
||||
namespace Aaru.Gui.Models
|
||||
{
|
||||
public class PartitionModel
|
||||
{
|
||||
public PartitionModel() => FileSystems = new ObservableCollection<FileSystemModel>();
|
||||
|
||||
public string Name { get; set; }
|
||||
public Bitmap Icon { get; set; }
|
||||
public ObservableCollection<FileSystemModel> FileSystems { get; }
|
||||
public Partition Partition { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user