-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from dennis/config-via-lua
Config via lua
- Loading branch information
Showing
48 changed files
with
1,009 additions
and
738 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#nullable enable | ||
|
||
namespace Slipstream.Backend | ||
{ | ||
public interface IPluginFactory | ||
{ | ||
IPlugin CreatePlugin(string id, string name); | ||
IPlugin CreatePlugin<T>(string pluginId, string name, T configuration); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#nullable enable | ||
|
||
using System; | ||
|
||
namespace Slipstream.Backend | ||
{ | ||
public interface IPluginManager : IDisposable | ||
{ | ||
public void UnregisterPlugin(IPlugin p); | ||
public void UnregisterPlugin(string id); | ||
public void RegisterPlugin(IPlugin plugin); | ||
public void EnablePlugin(IPlugin p); | ||
public void DisablePlugins(); | ||
public void DisablePlugin(IPlugin p); | ||
public void FindPluginAndExecute(string pluginId, Action<IPlugin> a); | ||
public void ForAllPluginsExecute(Action<IPlugin> a); | ||
public void RestartReconfigurablePlugins(); | ||
} | ||
} |
Oops, something went wrong.