-> Files added

This commit is contained in:
Kevin Krüger
2022-06-01 14:15:41 +02:00
parent deeeb2d0a3
commit e43c1daf56
5 changed files with 66 additions and 0 deletions

23
IPage.cs Normal file
View File

@@ -0,0 +1,23 @@
using System.Windows.Controls;
namespace PTConverter.Plugin
{
/// <summary>
/// Represent a Module-Page
/// </summary>
public interface IPage
{
/// <summary>
/// Instance of an Control(XAML-Page)
/// </summary>
UserControl GetPage();
/// <summary>
/// The Main Category
/// </summary>
string GetCategory();
/// <summary>
/// The Undercategory of an Main Category Page
/// </summary>
string GetUnderCategory();
}
}

39
IPlugin.cs Normal file
View File

@@ -0,0 +1,39 @@
using System.Collections.Generic;
namespace PTConverter.Plugin
{
/// <summary>
/// Describes an Plugin
/// </summary>
public interface IPlugin
{
/// <summary>
/// Author of the plugin
/// </summary>
string Author { get; }
/// <summary>
/// Company of the Plugin
/// </summary>
string Company { get; }
/// <summary>
/// Name of the Plugin
/// </summary>
string PluginName { get; }
/// <summary>
/// Description of the Plugin
/// </summary>
string Description { get; }
/// <summary>
/// The Version of the Plugin
/// </summary>
string Version { get; }
/// <summary>
/// The Icon(Link) of the Plugin
/// </summary>
string IconLink { get; }
/// <summary>
/// Registers all pages
/// </summary>
IEnumerable<IPage> RegisterPages {get;}
}
}

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]