27 lines
601 B
C#
27 lines
601 B
C#
using OwnChar.App.Desktop.Api;
|
|
using OwnChar.Plugins;
|
|
using Pilz.Configuration;
|
|
using Pilz.Plugins.Advanced;
|
|
|
|
namespace OwnChar.App.Desktop
|
|
{
|
|
public class AppPlugin : IOwnCharPlugin
|
|
{
|
|
public static AppPlugin? Instance { get; private set; }
|
|
|
|
public string ID => "OwnChar.App.Desktop";
|
|
public string Name => "OwnChar Desktop App";
|
|
|
|
public AppPlugin()
|
|
{
|
|
Instance = this;
|
|
PluginFeatureController.Instance.RegisterAllOwn();
|
|
}
|
|
|
|
public object? GetApi()
|
|
{
|
|
return AppApi.Instance;
|
|
}
|
|
}
|
|
}
|