mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
9488864f47
- support ~cancellation in api. - API refactoring. - API - locked to enable collisions. - other small changes
28 lines
738 B
C#
28 lines
738 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using Newtonsoft.Json;
|
|
using Wox.Infrastructure.Storage;
|
|
|
|
namespace Wox.Plugin.Everything
|
|
{
|
|
public class Settings
|
|
{
|
|
public const int DefaultMaxSearchCount = 50;
|
|
|
|
public string EditorPath { get; set; } = "";
|
|
|
|
public List<ContextMenu> ContextMenus = new List<ContextMenu>();
|
|
|
|
public int MaxSearchCount { get; set; } = DefaultMaxSearchCount;
|
|
|
|
public bool UseLocationAsWorkingDir { get; set; } = false;
|
|
}
|
|
|
|
public class ContextMenu
|
|
{
|
|
public string Name { get; set; }
|
|
public string Command { get; set; }
|
|
public string Argument { get; set; }
|
|
public string ImagePath { get; set; }
|
|
}
|
|
} |