Switched to BSD 3-Cluase license

- Use global usings in main kernal project
This commit is contained in:
Tony Bark 2023-01-06 19:03:07 -05:00
parent 7c16857c9a
commit 7b47f7afd8
17 changed files with 217 additions and 819 deletions

View file

@ -1,15 +1,15 @@
// I license this project under the GPL 3.0 license.
// I license this project under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
namespace Tomas.Interface
{
public interface IProgram
{
/// <summary>
/// The program's main entry point. Boolean behaves as an exit point.
/// True and False are the equivalent to C's 0 and 1, i.e. "Success" and "Failure," respectfully.
/// </summary>
/// <param name="shell">Allows the program to interact with the shell.</param>
/// <returns>Exit back to shell.</returns>
bool Run(IShell shell);
}
public interface IProgram
{
/// <summary>
/// The program's main entry point. Boolean behaves as an exit point.
/// True and False are the equivalent to C's 0 and 1, i.e. "Success" and "Failure," respectfully.
/// </summary>
/// <param name="shell">Allows the program to interact with the shell.</param>
/// <returns>Exit back to shell.</returns>
bool Run(IShell shell);
}
}

View file

@ -1,14 +1,13 @@
// I license this project under the GPL 3.0 license.
// I license this project under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Tomas.Interface
{
public interface IShell
{
string ReadLine { get; }
public interface IShell
{
string ReadLine { get; }
Dictionary<string, IProgram> Programs { get; }
}
Dictionary<string, IProgram> Programs { get; }
}
}