mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Member or type can be made internal.
This commit is contained in:
@@ -38,7 +38,7 @@ using DiscImageChef.Devices;
|
||||
|
||||
namespace DiscImageChef.Core.Logging
|
||||
{
|
||||
public class IBGLog
|
||||
class IBGLog
|
||||
{
|
||||
static FileStream ibgFs;
|
||||
static StringBuilder ibgSb;
|
||||
@@ -54,7 +54,7 @@ namespace DiscImageChef.Core.Logging
|
||||
static ulong ibgIntSector;
|
||||
static int ibgSampleRate;
|
||||
|
||||
public IBGLog(string outputFile, ushort currentProfile)
|
||||
internal IBGLog(string outputFile, ushort currentProfile)
|
||||
{
|
||||
if(!string.IsNullOrEmpty(outputFile))
|
||||
{
|
||||
@@ -193,7 +193,7 @@ namespace DiscImageChef.Core.Logging
|
||||
}
|
||||
}
|
||||
|
||||
public void Write(ulong sector, double currentSpeed)
|
||||
internal void Write(ulong sector, double currentSpeed)
|
||||
{
|
||||
if(ibgFs != null)
|
||||
{
|
||||
@@ -222,7 +222,7 @@ namespace DiscImageChef.Core.Logging
|
||||
}
|
||||
}
|
||||
|
||||
public void Close(Device dev, ulong blocks, ulong blockSize, double totalSeconds, double currentSpeed,
|
||||
internal void Close(Device dev, ulong blocks, ulong blockSize, double totalSeconds, double currentSpeed,
|
||||
double averageSpeed, string devicePath)
|
||||
{
|
||||
if(ibgFs != null)
|
||||
|
||||
@@ -37,11 +37,11 @@ using DiscImageChef.Devices;
|
||||
|
||||
namespace DiscImageChef.Core.Logging
|
||||
{
|
||||
public class MHDDLog
|
||||
class MHDDLog
|
||||
{
|
||||
static FileStream mhddFs;
|
||||
FileStream mhddFs;
|
||||
|
||||
public MHDDLog(string outputFile, Device dev, ulong blocks, ulong blockSize, ulong blocksToRead)
|
||||
internal MHDDLog(string outputFile, Device dev, ulong blocks, ulong blockSize, ulong blocksToRead)
|
||||
{
|
||||
if(dev != null && !string.IsNullOrEmpty(outputFile))
|
||||
{
|
||||
@@ -128,7 +128,7 @@ namespace DiscImageChef.Core.Logging
|
||||
}
|
||||
}
|
||||
|
||||
public void Write(ulong sector, double duration)
|
||||
internal void Write(ulong sector, double duration)
|
||||
{
|
||||
if(mhddFs != null)
|
||||
{
|
||||
@@ -140,7 +140,7 @@ namespace DiscImageChef.Core.Logging
|
||||
}
|
||||
}
|
||||
|
||||
public void Close()
|
||||
internal void Close()
|
||||
{
|
||||
if(mhddFs != null) mhddFs.Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user