login!
This commit is contained in:
@@ -5,6 +5,7 @@ namespace OwnChar.App.Desktop.Api
|
||||
{
|
||||
public interface IMainWindowApi
|
||||
{
|
||||
Form Window { get; }
|
||||
OwnCharManager? Manager { get; }
|
||||
void OpenTab(Control content, string title);
|
||||
void CloseTab(Control content);
|
||||
|
||||
18
OwnChar.App.Desktop/Api/LoginProvider.cs
Normal file
18
OwnChar.App.Desktop/Api/LoginProvider.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using OwnChar.Data;
|
||||
using Pilz.Plugins.Advanced;
|
||||
|
||||
namespace OwnChar.App.Desktop.Api;
|
||||
|
||||
public abstract class LoginProvider : PluginFeature
|
||||
{
|
||||
public abstract IDataManager GetDefault(IMainWindowApi api);
|
||||
public abstract void Configure(IMainWindowApi api, ref IDataManager? manager);
|
||||
|
||||
protected LoginProvider(string featureType, string identifier) : base(featureType, identifier)
|
||||
{
|
||||
}
|
||||
|
||||
protected LoginProvider(string featureType, string featureIdentifier, string? featureName) : base(featureType, featureIdentifier, featureName)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user