Relicensed under GPL

This commit is contained in:
Tony Bark 2021-03-30 08:55:46 -04:00
parent c11f987521
commit af6bab2e4f
16 changed files with 667 additions and 388 deletions

View file

@ -1,4 +1,4 @@
extensions: designer.cs generated.cs
extensions: .cs .cpp .h .fs
// TOMAS is licensed under the MPL 2.0 license.
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
namespace Tomas.Common
{
public struct ComConsts

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using Tomas.Interface.Shell;
@ -20,12 +22,18 @@ namespace Tomas.Kernel.Programs
[ [ / \/ _/
_[ [ \ /_/";
readonly string[] _fenPhrases = { "Screams in fennec!", "Some people call me a coffee fox." };
readonly string[] _fenPhrases =
{
"[Screams in Fennec]",
"Some people call me a coffee fox.",
"Drink Soda. It makes you see faster.",
"10/10, Wouldn't Recommend."
};
public bool Start()
{
var rng = new Random();
var phrases = _fenPhrases[rng.Next(0, _fenPhrases.Length)];
var phrases = _fenPhrases[rng.Next(_fenPhrases.Length)];
Console.WriteLine($"{phrases}{Environment.NewLine}{FENNEC}");
return true;
}

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
namespace Tomas.Interface.Shell
{
public interface IProgram

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
namespace Tomas.Interface.Shell
{
public interface IShell

View file

@ -1,4 +1,4 @@
// TOMAS is licensed under the MPL 2.0 license.
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
@ -26,7 +26,7 @@ namespace Tomas.Kernel
}
Console.WriteLine("Booted successfully. Type a line of text to get it echoed back.");
Console.WriteLine($"{ComConsts.NAME} v{ComConsts.VersionGit} Booted successfully.");
}
protected override void Run()

View file

@ -1,6 +1,5 @@
// TOMAS is licensed under the MPL 2.0 license.
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Tomas.Interface.Shell;
using Tomas.Kernel.Programs;

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using Tomas.Common;
using Tomas.Interface.Shell;

View file

@ -1,4 +1,4 @@
// TOMAS is licensed under the MPL 2.0 license.
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using Tomas.Common;

View file

@ -1,4 +1,4 @@
// TOMAS is licensed under the MPL 2.0 license.
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;

View file

@ -1,4 +1,6 @@
namespace Tomas.Terminal
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
namespace Tomas.Terminal
{
class Program
{

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using Tomas.Common;
using Tomas.Interface.Shell;

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System;
using Tomas.Interface.Shell;

View file

@ -1,3 +1,5 @@
// I license this project under the GPL 3.0 license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Tomas.Interface.Shell;
using Tomas.Kernel.Programs;