2015-10-31 07:17:34 +08:00
|
|
|
|
using System.Collections.Generic;
|
2016-04-21 08:53:21 +08:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using Newtonsoft.Json;
|
2015-10-31 07:17:34 +08:00
|
|
|
|
using Wox.Infrastructure.Storage;
|
2015-01-26 19:06:03 +08:00
|
|
|
|
|
|
|
|
|
namespace Wox.Plugin.Everything
|
|
|
|
|
{
|
2016-04-21 08:53:21 +08:00
|
|
|
|
public class Settings
|
2015-01-26 19:06:03 +08:00
|
|
|
|
{
|
2016-04-21 08:53:21 +08:00
|
|
|
|
public List<ContextMenu> ContextMenus = new List<ContextMenu>();
|
2015-01-26 19:06:03 +08:00
|
|
|
|
|
2016-04-21 08:53:21 +08:00
|
|
|
|
public int MaxSearchCount { get; set; } = 100;
|
2016-05-31 03:07:20 +08:00
|
|
|
|
|
|
|
|
|
public bool UseLocationAsWorkingDir { get; set; } = false;
|
2015-01-26 19:06:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ContextMenu
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Command { get; set; }
|
|
|
|
|
public string Argument { get; set; }
|
|
|
|
|
public string ImagePath { get; set; }
|
|
|
|
|
}
|
2015-02-07 16:53:33 +08:00
|
|
|
|
}
|