mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Some more plugin stuff, lovely commit messages ikr
This commit is contained in:
1 parent
ede07722eb
commit
f7fe57676d
16 files changed
+216
-108
No files matched your search
@@ -30,6 +30,9 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Ninject, Version=3.3.4.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Ninject.3.3.4\lib\net45\Ninject.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Stylet, Version=1.1.21.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Stylet.1.1.21\lib\net45\Stylet.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
@@ -2,6 +2,5 @@
|
||||
{
|
||||
public interface IModule : IPlugin
|
||||
{
|
||||
IPluginViewModel GetMainViewModel();
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,17 @@
|
||||
namespace Artemis.Plugins.Interfaces
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Artemis.Plugins.Interfaces
|
||||
{
|
||||
public interface IPlugin
|
||||
{
|
||||
/// <summary>
|
||||
/// Called when the plugin is loaded
|
||||
/// </summary>
|
||||
void LoadPlugin();
|
||||
|
||||
/// <summary>
|
||||
/// Called when the plugin is unloaded
|
||||
/// </summary>
|
||||
void UnloadPlugin();
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<packages>
|
||||
<package id="Ninject" version="3.3.4" targetFramework="net46" />
|
||||
<package id="Stylet" version="1.1.21" targetFramework="net46" />
|
||||
</packages>
|
||||
Reference in new issue
Block a user