Partitions should be public.

This commit is contained in:
2017-07-01 20:54:02 +01:00
parent 165087a0a8
commit d6e850b9a6
17 changed files with 63 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class Acorn : PartPlugin public class Acorn : PartPlugin
{ {
const ulong ADFS_SB_POS = 0xC00; const ulong ADFS_SB_POS = 0xC00;
const uint LINUX_MAGIC = 0xDEAFA1DE; const uint LINUX_MAGIC = 0xDEAFA1DE;

View File

@@ -40,7 +40,7 @@ namespace DiscImageChef.PartPlugins
{ {
// Information about structures learnt from Inside Macintosh // Information about structures learnt from Inside Macintosh
// Constants from image testing // Constants from image testing
class AppleMap : PartPlugin public class AppleMap : PartPlugin
{ {
// "ER" // "ER"
const ushort APM_MAGIC = 0x4552; const ushort APM_MAGIC = 0x4552;

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class AtariPartitions : PartPlugin public class AtariPartitions : PartPlugin
{ {
const uint TypeGEMDOS = 0x0047454D; const uint TypeGEMDOS = 0x0047454D;
const uint TypeBigGEMDOS = 0x0042474D; const uint TypeBigGEMDOS = 0x0042474D;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class BSD : PartPlugin public class BSD : PartPlugin
{ {
public const uint DISKMAGIC = 0x82564557; public const uint DISKMAGIC = 0x82564557;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class DEC : PartPlugin public class DEC : PartPlugin
{ {
const int PT_MAGIC = 0x032957; const int PT_MAGIC = 0x032957;
const int PT_VALID = 1; const int PT_VALID = 1;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class DragonFlyBSD : PartPlugin public class DragonFlyBSD : PartPlugin
{ {
const uint DISK_MAGIC64 = 0xC4464C59; const uint DISK_MAGIC64 = 0xC4464C59;

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class GuidPartitionTable : PartPlugin public class GuidPartitionTable : PartPlugin
{ {
const ulong GptMagic = 0x5452415020494645; const ulong GptMagic = 0x5452415020494645;
const uint GptRevision1 = 0x00010000; const uint GptRevision1 = 0x00010000;

View File

@@ -40,7 +40,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class Human68K : PartPlugin public class Human68K : PartPlugin
{ {
const uint X68kMagic = 0x5836384B; const uint X68kMagic = 0x5836384B;

View File

@@ -36,7 +36,7 @@ using System.Collections.Generic;
// TODO: Support AAP, AST, SpeedStor and Ontrack extensions // TODO: Support AAP, AST, SpeedStor and Ontrack extensions
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class MBR : PartPlugin public class MBR : PartPlugin
{ {
const ushort MBRSignature = 0xAA55; const ushort MBRSignature = 0xAA55;

View File

@@ -37,7 +37,7 @@ using System.Text;
// Information learnt from XNU source and testing against real disks // Information learnt from XNU source and testing against real disks
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class NeXTDisklabel : PartPlugin public class NeXTDisklabel : PartPlugin
{ {
const uint NEXT_MAGIC1 = 0x4E655854; const uint NEXT_MAGIC1 = 0x4E655854;
// "NeXT" // "NeXT"

View File

@@ -39,7 +39,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class PC98 : PartPlugin public class PC98 : PartPlugin
{ {
const ushort IntelMagic = 0xAA55; const ushort IntelMagic = 0xAA55;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class RioKarma : PartPlugin public class RioKarma : PartPlugin
{ {
const ushort KarmaMagic = 0xAB56; const ushort KarmaMagic = 0xAB56;
const byte EntryMagic = 0x4D; const byte EntryMagic = 0x4D;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class SGI : PartPlugin public class SGI : PartPlugin
{ {
const int SGI_MAGIC = 0x0BE5A941; const int SGI_MAGIC = 0x0BE5A941;

View File

@@ -37,7 +37,7 @@ using DiscImageChef.Console;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class SunDisklabel : PartPlugin public class SunDisklabel : PartPlugin
{ {
const ushort SUN_MAGIC = 0xDABE; const ushort SUN_MAGIC = 0xDABE;
const uint VTOC_MAGIC = 0x600DDEEE; const uint VTOC_MAGIC = 0x600DDEEE;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class UNIX : PartPlugin public class UNIX : PartPlugin
{ {
public const uint UNIXDiskLabel_MAGIC = 0xCA5E600D; public const uint UNIXDiskLabel_MAGIC = 0xCA5E600D;
public const uint UNIXVTOC_MAGIC = 0x600DDEEE; public const uint UNIXVTOC_MAGIC = 0x600DDEEE;

View File

@@ -38,7 +38,7 @@ using DiscImageChef.ImagePlugins;
namespace DiscImageChef.PartPlugins namespace DiscImageChef.PartPlugins
{ {
class Xbox : PartPlugin public class Xbox : PartPlugin
{ {
const uint XboxCigam = 0x46415458; const uint XboxCigam = 0x46415458;
const uint XboxMagic = 0x58544146; const uint XboxMagic = 0x58544146;

View File

@@ -0,0 +1,47 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : FAT12_MBR.cs
// Version : 1.0
// Author(s) : Natalia Portillo
//
// Component : Component
//
// Revision : $Revision$
// Last change by : $Author$
// Date : $Date$
//
// --[ Description ] ----------------------------------------------------------
//
// Description
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright (C) 2011-2015 Claunia.com
// ****************************************************************************/
// //$Id$
using System;
namespace DiscImageChef.Tests.Filesystems
{
public class FAT12_MBR
{
public FAT12_MBR()
{
}
}
}