* FileSystemIDandChk/BigEndianBitConverter.cs:

Added BitConverter for BigEndian

	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  FileSystemIDandChk/BigEndianBitConverter.cs


	* FileSystemIDandChk/ImagePlugins/CDRWin.cs:
	  Corrected parsing
	Implemented all ImagePlugin methods

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Used document auto formatting

	* FileSystemIDandChk/Main.cs:
	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/Plugins/BFS.cs:
	* FileSystemIDandChk/Plugins/FFS.cs:
	* FileSystemIDandChk/Plugins/ODS.cs:
	* FileSystemIDandChk/Plugins/HPFS.cs:
	* FileSystemIDandChk/Plugins/SysV.cs:
	* FileSystemIDandChk/Plugins/NTFS.cs:
	* FileSystemIDandChk/Plugins/extFS.cs:
	* FileSystemIDandChk/Plugins/Opera.cs:
	* FileSystemIDandChk/Plugins/ext2FS.cs:
	* FileSystemIDandChk/Plugins/Plugin.cs:
	* FileSystemIDandChk/Plugins/UNIXBFS.cs:
	* FileSystemIDandChk/Plugins/SolarFS.cs:
	* FileSystemIDandChk/PartPlugins/MBR.cs:
	* FileSystemIDandChk/Plugins/MinixFS.cs:
	* FileSystemIDandChk/Plugins/ISO9660.cs:
	* FileSystemIDandChk/Plugins/PCEngine.cs:
	* FileSystemIDandChk/Plugins/AppleHFS.cs:
	* FileSystemIDandChk/PartPlugins/NeXT.cs:
	* FileSystemIDandChk/Plugins/AppleMFS.cs:
	* FileSystemIDandChk/PartPlugins/AppleMap.cs:
	* FileSystemIDandChk/Plugins/AppleHFSPlus.cs:
	  Added support for disc image plugins

	* FileSystemIDandChk/PartPlugins/PartPlugin.cs:
	  Added support for disc image plugins
	Added start sector and length in sectors to partitions

	* FileSystemIDandChk/Plugins/Symbian.cs:
	  Commented til code is adapted for disc image plugins

git-svn-id: svn://claunia.com/FileSystemIDandChk@27 17725271-3d32-4980-a8cb-9ff532f270ba
This commit is contained in:
2014-04-14 01:14:20 +00:00
parent 0abc5476b5
commit 32bb28e8c2
30 changed files with 5832 additions and 3656 deletions

View File

@@ -4,25 +4,35 @@ using System.Collections.Generic;
namespace FileSystemIDandChk.PartPlugins
{
public abstract class PartPlugin
{
public string Name;
public abstract class PartPlugin
{
public string Name;
public Guid PluginUUID;
protected PartPlugin ()
{
}
public abstract bool GetInformation(FileStream stream, out List<Partition> partitions);
}
public struct Partition
{
public ulong PartitionSequence; // Partition number, 0-started
public string PartitionType; // Partition type
public string PartitionName; // Partition name (if the scheme supports it)
public long PartitionStart; // Start of the partition, in bytes
public long PartitionLength; // Length in bytes of the partition
public string PartitionDescription; // Information that does not find space in this struct
}
protected PartPlugin()
{
}
public abstract bool GetInformation(ImagePlugins.ImagePlugin imagePlugin, out List<Partition> partitions);
}
public struct Partition
{
public ulong PartitionSequence;
// Partition number, 0-started
public string PartitionType;
// Partition type
public string PartitionName;
// Partition name (if the scheme supports it)
public ulong PartitionStart;
// Start of the partition, in bytes
public ulong PartitionStartSector;
// LBA of partition start
public ulong PartitionLength;
// Length in bytes of the partition
public ulong PartitionSectors;
// Length in sectors of the partition
public string PartitionDescription;
// Information that does not find space in this struct
}
}