mirror of
https://github.com/chylex/Code-Statistics.git
synced 2025-03-15 18:15:42 +01:00
Make input related classes and structs public
This commit is contained in:
parent
cc98ca7372
commit
72264011d3
CodeStatistics
@ -6,7 +6,7 @@ using CodeStatistics.Input.Methods;
|
||||
using CodeStatistics.Input;
|
||||
|
||||
namespace CodeStatistics.Forms{
|
||||
partial class MainForm : Form{
|
||||
public partial class MainForm : Form{
|
||||
public IInputMethod InputMethod{ get; private set; }
|
||||
|
||||
public MainForm(){
|
||||
|
@ -10,7 +10,7 @@ using CodeStatistics.Data;
|
||||
using CodeStatistics.Input.Methods;
|
||||
|
||||
namespace CodeStatistics.Forms{
|
||||
partial class ProjectLoadForm : Form{
|
||||
public partial class ProjectLoadForm : Form{
|
||||
private readonly IInputMethod inputMethod;
|
||||
private FileSearch search;
|
||||
private Project project;
|
||||
|
@ -3,7 +3,7 @@ using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace CodeStatistics.Input{
|
||||
struct File{
|
||||
public struct File{
|
||||
public readonly string FullPath;
|
||||
public readonly string Ext;
|
||||
|
||||
|
@ -8,7 +8,7 @@ using DirectoryIO = System.IO.Directory;
|
||||
using CodeStatistics.Input.Methods;
|
||||
|
||||
namespace CodeStatistics.Input{
|
||||
class FileSearch : IInputMethod{
|
||||
public class FileSearch : IInputMethod{
|
||||
public delegate void OnInputReady(FileSearch search);
|
||||
|
||||
public delegate void RefreshEventHandler(int entriesFound);
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CodeStatistics.Input{
|
||||
class FileSearchData{
|
||||
public class FileSearchData{
|
||||
private readonly HashSet<File> files = new HashSet<File>();
|
||||
private readonly HashSet<string> folders = new HashSet<string>();
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
namespace CodeStatistics.Input{
|
||||
struct IOEntry{
|
||||
public struct IOEntry{
|
||||
public enum Type{
|
||||
File, Folder
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
namespace CodeStatistics.Input.Methods{
|
||||
interface IInputMethod{
|
||||
public interface IInputMethod{
|
||||
void BeginProcess(FileSearch.OnInputReady onReady);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user