commit 9f8753c9bdb1b0a4c4361e61bdd9b3e278f21117 Author: Natalia Portillo Date: Mon Oct 5 19:45:07 2015 +0100 Moved disc image plugins to a separate library. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..0e29863 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,7 @@ +2015-10-05 Natalia Portillo + + * Partition.cs: + * Properties/AssemblyInfo.cs: + * DiscImageChef.CommonTypes.csproj: + Moved disc image plugins to a separate library. + diff --git a/DiscImageChef.CommonTypes.csproj b/DiscImageChef.CommonTypes.csproj new file mode 100644 index 0000000..4c2a8b3 --- /dev/null +++ b/DiscImageChef.CommonTypes.csproj @@ -0,0 +1,41 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {F2B84194-26EB-4227-B1C5-6602517E85AE} + Library + DiscImageChef.CommonTypes + DiscImageChef.CommonTypes + 2.2 + v3.5 + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + + + full + true + bin\Release + prompt + 4 + false + + + + + + + + + + \ No newline at end of file diff --git a/Partition.cs b/Partition.cs new file mode 100644 index 0000000..85f0f11 --- /dev/null +++ b/Partition.cs @@ -0,0 +1,28 @@ +using System; + +namespace DiscImageChef.CommonTypes +{ + /// + /// Partition structure. + /// + public struct Partition + { + /// Partition number, 0-started + public ulong PartitionSequence; + /// Partition type + public string PartitionType; + /// Partition name (if the scheme supports it) + public string PartitionName; + /// Start of the partition, in bytes + public ulong PartitionStart; + /// LBA of partition start + public ulong PartitionStartSector; + /// Length in bytes of the partition + public ulong PartitionLength; + /// Length in sectors of the partition + public ulong PartitionSectors; + /// Information that does not find space in this struct + public string PartitionDescription; + } +} + diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7a931fd --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle("DiscImageChef.CommonTypes")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Claunia.com")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("© Claunia.com")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] +