1
0
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:
chylex 2016-02-28 15:54:56 +01:00
parent cc98ca7372
commit 72264011d3
7 changed files with 7 additions and 7 deletions

View File

@ -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(){

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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>();

View File

@ -1,5 +1,5 @@
namespace CodeStatistics.Input{
struct IOEntry{
public struct IOEntry{
public enum Type{
File, Folder
}

View File

@ -1,5 +1,5 @@
namespace CodeStatistics.Input.Methods{
interface IInputMethod{
public interface IInputMethod{
void BeginProcess(FileSearch.OnInputReady onReady);
}
}