Projektdateien hinzufügen.
This commit is contained in:
25
OwnChar.Plugins.sln
Normal file
25
OwnChar.Plugins.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34714.143
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OwnChar.Plugins", "OwnChar.Plugins\OwnChar.Plugins.csproj", "{CE88E627-43B9-4AC4-B656-441D69D72BF9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{CE88E627-43B9-4AC4-B656-441D69D72BF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CE88E627-43B9-4AC4-B656-441D69D72BF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CE88E627-43B9-4AC4-B656-441D69D72BF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CE88E627-43B9-4AC4-B656-441D69D72BF9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {1C5A36E3-4010-43CA-8F5F-C1547C19A2C7}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
15
OwnChar.Plugins/IOwnCharPlugin.cs
Normal file
15
OwnChar.Plugins/IOwnCharPlugin.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Pilz.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public interface IOwnCharPlugin : IPlugin
|
||||
{
|
||||
public string ID { get; }
|
||||
public object? GetApi();
|
||||
}
|
||||
}
|
||||
13
OwnChar.Plugins/OwnChar.Plugins.csproj
Normal file
13
OwnChar.Plugins/OwnChar.Plugins.csproj
Normal file
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pilz.Plugins" Version="2.1.5" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
8
OwnChar.Plugins/OwnCharPlugins.cs
Normal file
8
OwnChar.Plugins/OwnCharPlugins.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Pilz.Plugins;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public class OwnCharPlugins : PluginManager<IOwnCharPlugin, PluginRuntimeInfo>
|
||||
{
|
||||
}
|
||||
}
|
||||
13
OwnChar.Plugins/PluginRuntimeInfo.cs
Normal file
13
OwnChar.Plugins/PluginRuntimeInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Pilz.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public class PluginRuntimeInfo : PluginRuntimeInfo<IOwnCharPlugin>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user