Move to file scoped namespaces.

This commit is contained in:
2022-03-06 13:29:36 +00:00
parent 3d303623c2
commit 2b6d8ae473
3 changed files with 1058 additions and 1061 deletions

View File

@@ -47,8 +47,8 @@ using Aaru.Decoders.DVD;
// libdvdcpxm (https://offog.org/git/dvdaexplorer/src/libdvdcpxm/) // libdvdcpxm (https://offog.org/git/dvdaexplorer/src/libdvdcpxm/)
// libdvdcss (https://www.videolan.org/developers/libdvdcss.html) // libdvdcss (https://www.videolan.org/developers/libdvdcss.html)
namespace Aaru.Decryption.DVD namespace Aaru.Decryption.DVD;
{
public class CSS public class CSS
{ {
static readonly byte[,] _playerKeys = static readonly byte[,] _playerKeys =
@@ -713,4 +713,3 @@ namespace Aaru.Decryption.DVD
((rpc.RegionMask & 0x80) == (cmi.RegionInformation & 0x80) && (rpc.RegionMask & 0x80) != 0x80); ((rpc.RegionMask & 0x80) == (cmi.RegionInformation & 0x80) && (rpc.RegionMask & 0x80) != 0x80);
} }
} }
}

View File

@@ -40,8 +40,8 @@ using Aaru.Console;
using Aaru.Decoders.DVD; using Aaru.Decoders.DVD;
using Aaru.Devices; using Aaru.Devices;
namespace Aaru.Decryption.DVD namespace Aaru.Decryption.DVD;
{
public sealed class Dump public sealed class Dump
{ {
const byte KEY_SIZE = 5; const byte KEY_SIZE = 5;
@@ -505,4 +505,3 @@ namespace Aaru.Decryption.DVD
return sense; return sense;
} }
} }
}

View File

@@ -1,5 +1,5 @@
namespace Aaru.Decryption namespace Aaru.Decryption;
{
public enum DvdCssKeyClass : byte public enum DvdCssKeyClass : byte
{ {
DvdCssCppmOrCprm = 0, RewritableSecurityServicesA = 1 DvdCssCppmOrCprm = 0, RewritableSecurityServicesA = 1
@@ -9,4 +9,3 @@ namespace Aaru.Decryption
{ {
Key1 = 0, Key2 = 1, BusKey = 2 Key1 = 0, Key2 = 1, BusKey = 2
} }
}