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