Move stat report enum to better namespace

This commit is contained in:
Matt Nadareski
2020-12-12 13:35:25 -08:00
parent 2e7f70b535
commit 8a401982eb
6 changed files with 46 additions and 49 deletions

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.IO;
using SabreTools.Core;
using SabreTools.DatTools;
using SabreTools.Help;
using SabreTools.Reports;
namespace RombaSharp.Features
{

View File

@@ -1,7 +1,4 @@
using System.IO;
using System.Reflection;
namespace SabreTools.Core
namespace SabreTools.Core
{
/// <summary>
/// Constants that are used throughout the library

View File

@@ -1033,47 +1033,4 @@ namespace SabreTools.Core
}
#endregion
#region Reports
/// <summary>
/// Determine which format to output Stats to
/// </summary>
[Flags]
public enum StatReportFormat
{
/// <summary>
/// Only output to the console
/// </summary>
None = 0x00,
/// <summary>
/// Console-formatted
/// </summary>
Textfile = 1 << 0,
/// <summary>
/// ClrMamePro HTML
/// </summary>
HTML = 1 << 1,
/// <summary>
/// Comma-Separated Values (Standardized)
/// </summary>
CSV = 1 << 2,
/// <summary>
/// Semicolon-Separated Values (Standardized)
/// </summary>
SSV = 1 << 3,
/// <summary>
/// Tab-Separated Values (Standardized)
/// </summary>
TSV = 1 << 4,
All = Int32.MaxValue,
}
#endregion
}

View File

@@ -1,7 +1,6 @@
using System;
using System.IO;
using SabreTools.Core;
using SabreTools.DatFiles;
using SabreTools.Reports.Formats;

View File

@@ -0,0 +1,43 @@
using System;
namespace SabreTools.Reports
{
/// <summary>
/// Determine which format to output Stats to
/// </summary>
[Flags]
public enum StatReportFormat
{
/// <summary>
/// Only output to the console
/// </summary>
None = 0x00,
/// <summary>
/// Console-formatted
/// </summary>
Textfile = 1 << 0,
/// <summary>
/// ClrMamePro HTML
/// </summary>
HTML = 1 << 1,
/// <summary>
/// Comma-Separated Values (Standardized)
/// </summary>
CSV = 1 << 2,
/// <summary>
/// Semicolon-Separated Values (Standardized)
/// </summary>
SSV = 1 << 3,
/// <summary>
/// Tab-Separated Values (Standardized)
/// </summary>
TSV = 1 << 4,
All = Int32.MaxValue,
}
}

View File

@@ -9,6 +9,7 @@ using SabreTools.Filtering;
using SabreTools.Help;
using SabreTools.IO;
using SabreTools.Logging;
using SabreTools.Reports;
using Microsoft.Data.Sqlite;
namespace SabreTools.Features