-> Files added
This commit is contained in:
23
IPage.cs
Normal file
23
IPage.cs
Normal 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
39
IPlugin.cs
Normal 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;}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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")]
|
||||||
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
Binary file not shown.
BIN
obj/Debug/PTConverter.Plugin.csproj.AssemblyReference.cache
Normal file
BIN
obj/Debug/PTConverter.Plugin.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
Reference in New Issue
Block a user