2014-03-19 04:05:27 +08:00
|
|
|
|
using System;
|
2014-03-23 16:17:41 +08:00
|
|
|
|
using Wox.Infrastructure.Storage.UserSettings;
|
2014-03-19 04:05:27 +08:00
|
|
|
|
|
2014-03-30 11:16:44 +08:00
|
|
|
|
namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
|
2014-03-19 04:05:27 +08:00
|
|
|
|
{
|
2014-12-15 22:58:49 +08:00
|
|
|
|
[Serializable]
|
2014-03-19 04:05:27 +08:00
|
|
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
|
|
|
public class UserStartMenuProgramSource : FileSystemProgramSource
|
|
|
|
|
{
|
|
|
|
|
public UserStartMenuProgramSource()
|
|
|
|
|
: base(Environment.GetFolderPath(Environment.SpecialFolder.Programs))
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-23 16:17:41 +08:00
|
|
|
|
public UserStartMenuProgramSource(ProgramSource source)
|
2014-03-19 04:05:27 +08:00
|
|
|
|
: this()
|
|
|
|
|
{
|
2014-03-19 20:16:20 +08:00
|
|
|
|
this.BonusPoints = source.BonusPoints;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return typeof(UserStartMenuProgramSource).Name;
|
2014-03-19 04:05:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|