code cleanup
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
using OwnChar.App.Desktop.Api;
|
||||
using OwnChar.Plugins;
|
||||
using Pilz.Configuration;
|
||||
using OwnChar.Plugins;
|
||||
using Pilz.Plugins.Advanced;
|
||||
|
||||
namespace OwnChar.App.Desktop
|
||||
namespace OwnChar.App.Desktop;
|
||||
|
||||
public class AppPlugin : IOwnCharPlugin
|
||||
{
|
||||
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()
|
||||
{
|
||||
public static AppPlugin? Instance { get; private set; }
|
||||
Instance = this;
|
||||
PluginFeatureController.Instance.RegisterAllOwn();
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
public object? GetApi()
|
||||
{
|
||||
return AppApi.Instance;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user