Program plugin: remove complicated inheritance

This commit is contained in:
bao-qian
2016-07-21 19:51:47 +01:00
parent 0c9015bb77
commit 1de68051e3
13 changed files with 93 additions and 187 deletions

View File

@@ -1,12 +1,12 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Wox.Plugin.Program.ProgramSources;
namespace Wox.Plugin.Program
{
public class Settings
{
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public List<FileSystemProgramSource> ProgramSources { get; set; } = new List<FileSystemProgramSource>();
public string[] ProgramSuffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"};
public bool EnableStartMenuSource { get; set; } = true;