-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBossKeyPluginInfo.cs
More file actions
40 lines (32 loc) · 966 Bytes
/
BossKeyPluginInfo.cs
File metadata and controls
40 lines (32 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wbooru.PluginExt;
namespace WbooruPlugin.BossKey
{
[Export(typeof(PluginInfo))]
public class BossKeyPluginInfo : PluginInfo
{
private BossKeyImpl impl;
public BossKeyPluginInfo()
{
if (impl == null)
{
impl = new BossKeyImpl();
impl.Start();
}
}
public override string PluginName => "BossKey";
public override string PluginProjectWebsite => "https://github.com/MikiraSora/WbooruPlugin.BossKey";
public override string PluginAuthor => "DarkProjector";
public override string PluginDescription => "WTMSB.";
protected override void OnApplicationTerm()
{
base.OnApplicationTerm();
impl?.Stop();
}
}
}