2015-10-30 23:17:34 +00:00
|
|
|
|
using System.Collections.Generic;
|
2016-04-21 00:53:21 +00:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using Newtonsoft.Json;
|
2020-04-21 09:12:17 +00:00
|
|
|
|
using Flow.Launcher.Infrastructure.Storage;
|
2015-01-26 11:06:03 +00:00
|
|
|
|
|
2020-04-21 09:12:17 +00:00
|
|
|
|
namespace Flow.Launcher.Plugin.Everything
|
2015-01-26 11:06:03 +00:00
|
|
|
|
{
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public class Settings
|
2015-01-26 11:06:03 +00:00
|
|
|
|
{
|
2020-01-25 23:34:11 +00:00
|
|
|
|
public const int DefaultMaxSearchCount = 50;
|
|
|
|
|
|
|
2018-12-25 05:17:35 +00:00
|
|
|
|
public string EditorPath { get; set; } = "";
|
|
|
|
|
|
|
2016-04-21 00:53:21 +00:00
|
|
|
|
public List<ContextMenu> ContextMenus = new List<ContextMenu>();
|
2015-01-26 11:06:03 +00:00
|
|
|
|
|
2020-01-25 23:34:11 +00:00
|
|
|
|
public int MaxSearchCount { get; set; } = DefaultMaxSearchCount;
|
2016-05-30 19:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
public bool UseLocationAsWorkingDir { get; set; } = false;
|
2015-01-26 11:06:03 +00: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 08:53:33 +00:00
|
|
|
|
}
|