From fc55d4feecb64c2bae355cceac93bdac73fe00ea Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Mar 2017 08:02:30 -0500 Subject: hang on, busy making a sad victor tran face --- ShiftOS.WinForms/Applications/Downloader.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ShiftOS.WinForms/Applications/Downloader.cs') diff --git a/ShiftOS.WinForms/Applications/Downloader.cs b/ShiftOS.WinForms/Applications/Downloader.cs index b1b7ed9..48a5cfd 100644 --- a/ShiftOS.WinForms/Applications/Downloader.cs +++ b/ShiftOS.WinForms/Applications/Downloader.cs @@ -187,6 +187,16 @@ namespace ShiftOS.WinForms.Applications return 256; } + public static IEnumerable GetAllSubscriptions() + { + //For now we'll have them hard-coded into the client but in future they'll be in the MUD. + + foreach(var sub in JsonConvert.DeserializeObject(Properties.Resources.ShiftnetServices)) + { + yield return sub; + } + } + public static void StartDownload(Download down) { var t = new Thread(() => -- cgit v1.2.3