2014-12-15 22:58:49 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2015-01-05 22:41:17 +08:00
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Reflection;
|
2014-12-15 22:58:49 +08:00
|
|
|
|
using Wox.Infrastructure.Storage;
|
|
|
|
|
|
2015-01-03 15:20:34 +08:00
|
|
|
|
namespace Wox.Plugin.Program
|
2014-12-15 22:58:49 +08:00
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class ProgramCacheStorage : BinaryStorage<ProgramCacheStorage>
|
|
|
|
|
{
|
|
|
|
|
public List<Program> Programs = new List<Program>();
|
|
|
|
|
|
2015-01-05 22:41:17 +08:00
|
|
|
|
protected override string ConfigFolder
|
|
|
|
|
{
|
|
|
|
|
get { return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); }
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-15 22:58:49 +08:00
|
|
|
|
protected override string ConfigName
|
|
|
|
|
{
|
|
|
|
|
get { return "ProgramIndexCache"; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|