Add ProgramSources settings (code only, without GUI) #42

This commit is contained in:
Yeechan Lu
2014-03-19 04:05:27 +08:00
parent baa50069cf
commit cf0d7067eb
11 changed files with 151 additions and 11 deletions

View File

@@ -15,6 +15,12 @@ namespace Wox.Plugin.System
BaseDirectory = baseDirectory;
}
public PortableAppsProgramSource(Wox.Infrastructure.UserSettings.ProgramSource source)
: this(source.Location)
{
this.BonusPoints = source.BounsPoints;
}
public override List<Program> LoadPrograms()
{
List<Program> list = new List<Program>();