2015-10-31 07:17:34 +08:00
|
|
|
|
using System.Collections.Generic;
|
2015-01-26 22:50:38 +08:00
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using Wox.Infrastructure.Storage;
|
|
|
|
|
|
|
|
|
|
namespace Wox.Plugin.WebSearch
|
|
|
|
|
{
|
2016-01-04 13:00:16 +08:00
|
|
|
|
public class WebSearchStorage : JsonStrorage<WebSearchStorage>
|
2015-01-26 22:50:38 +08:00
|
|
|
|
{
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public List<WebSearch> WebSearches { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public bool EnableWebSearchSuggestion { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty]
|
|
|
|
|
public string WebSearchSuggestionSource { get; set; }
|
|
|
|
|
|
2016-01-07 10:31:17 +08:00
|
|
|
|
protected override string FileName { get; } = "settings_plugin_websearch";
|
2015-01-26 22:50:38 +08:00
|
|
|
|
}
|
|
|
|
|
}
|