2016-08-19 22:24:21 +00:00
|
|
|
|
using System.Collections.Generic;
|
2016-08-20 00:17:28 +00:00
|
|
|
|
using Wox.Plugin.Program.Programs;
|
2015-01-05 14:41:17 +00:00
|
|
|
|
|
|
|
|
|
|
namespace Wox.Plugin.Program
|
|
|
|
|
|
{
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public class Settings
|
2015-01-05 14:41:17 +00:00
|
|
|
|
{
|
2016-08-20 00:17:28 +00:00
|
|
|
|
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public string[] ProgramSuffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"};
|
2015-01-05 14:41:17 +00:00
|
|
|
|
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public bool EnableStartMenuSource { get; set; } = true;
|
2016-03-28 02:09:57 +00:00
|
|
|
|
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public bool EnableRegistrySource { get; set; } = true;
|
2016-08-19 19:34:20 +00:00
|
|
|
|
|
|
|
|
|
|
internal const char SuffixSeperator = ';';
|
2016-08-20 00:17:28 +00:00
|
|
|
|
|
|
|
|
|
|
public class ProgramSource
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Location { get; set; }
|
|
|
|
|
|
}
|
2015-01-05 14:41:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|