Move media info logic to Core.

This commit is contained in:
2018-09-07 23:26:10 +01:00
parent f556cd8bfd
commit 63f1fc4b7e
5 changed files with 1594 additions and 1254 deletions

View File

@@ -253,6 +253,12 @@
<e p="IBGLog.cs" t="Include" />
<e p="MHDDLog.cs" t="Include" />
</e>
<e p="Media" t="Include">
<e p="Info" t="Include">
<e p="ScsiInfo.cs" t="Include" />
<e p="XgdInfo.cs" t="Include" />
</e>
</e>
<e p="Options.cs" t="Include" />
<e p="Partitions.cs" t="Include" />
<e p="PrintScsiModePages.cs" t="Include" />

View File

@@ -51,6 +51,8 @@
<Compile Include="Devices\Info\Properties.cs" />
<Compile Include="GetPluginBase.cs" />
<Compile Include="ImageInfo.cs" />
<Compile Include="Media\Info\ScsiInfo.cs" />
<Compile Include="Media\Info\XgdInfo.cs" />
<Compile Include="Options.cs" />
<Compile Include="ImageFormat.cs" />
<Compile Include="PrintScsiModePages.cs" />

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,44 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : XgdInfo.cs
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : Core.
//
// --[ Description ] ----------------------------------------------------------
//
// Structure containing information about a XGD.
//
// --[ 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 © 2011-2018 Natalia Portillo
// ****************************************************************************/
namespace DiscImageChef.Core.Media.Info
{
public class XgdInfo
{
public ulong GameSize;
public ulong L0Video;
public ulong L1Video;
public ulong LayerBreak;
public ulong MiddleZone;
public ulong TotalSize;
}
}

File diff suppressed because it is too large Load Diff