mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Rename namespace.
This commit is contained in:
@@ -33,16 +33,16 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using DiscImageChef.Checksums;
|
||||
using DiscImageChef.CommonTypes;
|
||||
using DiscImageChef.Console;
|
||||
using DiscImageChef.Decoders.CD;
|
||||
using DiscImageChef.Decoders.Sega;
|
||||
using DiscImageChef.Devices;
|
||||
using Aaru.Checksums;
|
||||
using Aaru.CommonTypes;
|
||||
using Aaru.Console;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Decoders.Sega;
|
||||
using Aaru.Devices;
|
||||
|
||||
// ReSharper disable JoinDeclarationAndInitializer
|
||||
|
||||
namespace DiscImageChef.Core.Media.Detection
|
||||
namespace Aaru.Core.Media.Detection
|
||||
{
|
||||
public static class MMC
|
||||
{
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using DiscImageChef.CommonTypes;
|
||||
using DiscImageChef.CommonTypes.Enums;
|
||||
using DiscImageChef.CommonTypes.Structs;
|
||||
using DiscImageChef.Core.Logging;
|
||||
using DiscImageChef.Core.Media.Detection;
|
||||
using DiscImageChef.Database.Models;
|
||||
using DiscImageChef.Decoders.CD;
|
||||
using DiscImageChef.Devices;
|
||||
using Device = DiscImageChef.Database.Models.Device;
|
||||
using Aaru.Core.Logging;
|
||||
using Aaru.Core.Media.Detection;
|
||||
using Aaru.CommonTypes;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Structs;
|
||||
using Aaru.Database.Models;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Devices;
|
||||
using Device = Aaru.Database.Models.Device;
|
||||
|
||||
namespace DiscImageChef.Core.Media.Info
|
||||
namespace Aaru.Core.Media.Info
|
||||
{
|
||||
public static class CompactDisc
|
||||
{
|
||||
@@ -28,7 +28,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
/// <param name="combinedOffset">Combined offset</param>
|
||||
/// <returns><c>true</c> if offset could be found, <c>false</c> otherwise</returns>
|
||||
[SuppressMessage("ReSharper", "TooWideLocalVariableScope")]
|
||||
public static void GetOffset(CdOffset cdOffset, Device dbDev, bool debug, DiscImageChef.Devices.Device dev,
|
||||
public static void GetOffset(CdOffset cdOffset, Device dbDev, bool debug, Aaru.Devices.Device dev,
|
||||
MediaType dskType, DumpLog dumpLog, Track[] tracks,
|
||||
UpdateStatusHandler updateStatus, out int? driveOffset, out int? combinedOffset)
|
||||
{
|
||||
|
||||
@@ -34,23 +34,23 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using DiscImageChef.CommonTypes;
|
||||
using DiscImageChef.CommonTypes.Enums;
|
||||
using DiscImageChef.CommonTypes.Structs.Devices.SCSI;
|
||||
using DiscImageChef.Console;
|
||||
using DiscImageChef.Core.Media.Detection;
|
||||
using DiscImageChef.Decoders.CD;
|
||||
using DiscImageChef.Decoders.DVD;
|
||||
using DiscImageChef.Decoders.SCSI;
|
||||
using DiscImageChef.Decoders.SCSI.MMC;
|
||||
using DiscImageChef.Decoders.SCSI.SSC;
|
||||
using DiscImageChef.Decoders.Xbox;
|
||||
using DiscImageChef.Devices;
|
||||
using DeviceInfo = DiscImageChef.Core.Devices.Info.DeviceInfo;
|
||||
using DMI = DiscImageChef.Decoders.Xbox.DMI;
|
||||
using Inquiry = DiscImageChef.CommonTypes.Structs.Devices.SCSI.Inquiry;
|
||||
using Aaru.Core.Media.Detection;
|
||||
using Aaru.CommonTypes;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Structs.Devices.SCSI;
|
||||
using Aaru.Console;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Decoders.DVD;
|
||||
using Aaru.Decoders.SCSI;
|
||||
using Aaru.Decoders.SCSI.MMC;
|
||||
using Aaru.Decoders.SCSI.SSC;
|
||||
using Aaru.Decoders.Xbox;
|
||||
using Aaru.Devices;
|
||||
using DeviceInfo = Aaru.Core.Devices.Info.DeviceInfo;
|
||||
using DMI = Aaru.Decoders.Xbox.DMI;
|
||||
using Inquiry = Aaru.CommonTypes.Structs.Devices.SCSI.Inquiry;
|
||||
|
||||
namespace DiscImageChef.Core.Media.Info
|
||||
namespace Aaru.Core.Media.Info
|
||||
{
|
||||
public class ScsiInfo
|
||||
{
|
||||
@@ -157,7 +157,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
|
||||
MediaInserted = true;
|
||||
|
||||
DeviceInfo = new DeviceInfo(dev);
|
||||
DeviceInfo = new Devices.Info.DeviceInfo(dev);
|
||||
|
||||
byte scsiMediumType = 0;
|
||||
byte scsiDensityCode = 0;
|
||||
@@ -240,7 +240,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
!seqBuf.SequenceEqual(medBuf))
|
||||
{
|
||||
DensitySupport = seqBuf;
|
||||
DensitySupportHeader = Decoders.SCSI.SSC.DensitySupport.DecodeDensity(seqBuf);
|
||||
DensitySupportHeader = Aaru.Decoders.SCSI.SSC.DensitySupport.DecodeDensity(seqBuf);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
!seqBuf.SequenceEqual(medBuf))
|
||||
{
|
||||
MediaTypeSupport = medBuf;
|
||||
MediaTypeSupportHeader = Decoders.SCSI.SSC.DensitySupport.DecodeMediumType(seqBuf);
|
||||
MediaTypeSupportHeader = Aaru.Decoders.SCSI.SSC.DensitySupport.DecodeMediumType(seqBuf);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1126,7 +1126,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
else
|
||||
{
|
||||
Session = cmdBuf;
|
||||
DecodedSession = Decoders.CD.Session.Decode(cmdBuf);
|
||||
DecodedSession = Aaru.Decoders.CD.Session.Decode(cmdBuf);
|
||||
|
||||
if(DecodedSession.HasValue)
|
||||
{
|
||||
@@ -1505,7 +1505,7 @@ namespace DiscImageChef.Core.Media.Info
|
||||
public Dictionary<byte, string> Isrcs { get; }
|
||||
public bool MediaInserted { get; }
|
||||
public MediaType MediaType { get; }
|
||||
public DeviceInfo DeviceInfo { get; }
|
||||
public Devices.Info.DeviceInfo DeviceInfo { get; }
|
||||
public byte[] ReadCapacity { get; }
|
||||
public ulong Blocks { get; }
|
||||
public uint BlockSize { get; }
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
// Copyright © 2011-2020 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
namespace DiscImageChef.Core.Media.Info
|
||||
namespace Aaru.Core.Media.Info
|
||||
{
|
||||
public class XgdInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user