diff --git a/Logic/Support/ProgressBarBackend.cs b/Logic/Support/ProgressBarBackend.cs new file mode 100644 index 00000000..49a9af9b --- /dev/null +++ b/Logic/Support/ProgressBarBackend.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using NUnit.Framework.Constraints; +using Swarmops.Logic.Cache; + +namespace Swarmops.Logic.Support +{ + public class ProgressBarBackend + { + public ProgressBarBackend(string guid) + { + this.Guid = guid; + } + + public void Set (int progress) + { + GuidCache.Set(this.Guid + "-Progress", progress); + + } + + public string Guid { get; private set; } + } +}