mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General cleanup and refactor.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
// Copyright © 2011-2022 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Tabs;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Reactive;
|
||||
@@ -38,8 +40,6 @@ using Aaru.Decoders.DVD;
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Tabs;
|
||||
|
||||
public sealed class DvdWritableInfoViewModel
|
||||
{
|
||||
readonly byte[] _dvdLastBorderOutRmd;
|
||||
@@ -64,15 +64,14 @@ public sealed class DvdWritableInfoViewModel
|
||||
byte[] lastBorderOutRmd, byte[] preRecordedInfo, byte[] mediaIdentifier,
|
||||
byte[] physicalInformation, byte[] mediumStatus, byte[] hdLastRmd,
|
||||
byte[] layerCapacity, byte[] middleZoneStart, byte[] jumpIntervalSize,
|
||||
byte[] manualLayerJumpStartLba, byte[] remapAnchorPoint, byte[] adip,
|
||||
byte[] dcb, Window view)
|
||||
byte[] manualLayerJumpStartLba, byte[] remapAnchorPoint, byte[] adip, byte[] dcb,
|
||||
Window view)
|
||||
{
|
||||
_view = view;
|
||||
SaveDvdRamDdsCommand = ReactiveCommand.Create(ExecuteSaveDvdRamDdsCommand);
|
||||
SaveDvdRamCartridgeStatusCommand = ReactiveCommand.Create(ExecuteSaveDvdRamCartridgeStatusCommand);
|
||||
|
||||
SaveDvdRamSpareAreaInformationCommand =
|
||||
ReactiveCommand.Create(ExecuteSaveDvdRamSpareAreaInformationCommand);
|
||||
SaveDvdRamSpareAreaInformationCommand = ReactiveCommand.Create(ExecuteSaveDvdRamSpareAreaInformationCommand);
|
||||
|
||||
SaveLastBorderOutRmdCommand = ReactiveCommand.Create(ExecuteSaveLastBorderOutRmdCommand);
|
||||
SaveDvdPreRecordedInfoCommand = ReactiveCommand.Create(ExecuteSaveDvdPreRecordedInfoCommand);
|
||||
|
||||
Reference in New Issue
Block a user