mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
- Add `PluginName` property to `IPluginData` - Add `PluginPath` property to `IPluginData`
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using System.Drawing;
|
|
|
|
namespace DesktopMagicPluginAPI
|
|
{
|
|
/// <summary>
|
|
/// Defines properties and methods that provide information about the main application.
|
|
/// </summary>
|
|
public interface IPluginData
|
|
{
|
|
/// <summary>
|
|
/// Gets the font of the main application.
|
|
/// </summary>
|
|
string Font { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the color of the main application.
|
|
/// </summary>
|
|
Color Color { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the window size of the plugin window.
|
|
/// </summary>
|
|
Point WindowSize { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the window position of the plugin window.
|
|
/// </summary>
|
|
Point WindowPosition { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the name of the plugin.
|
|
/// </summary>
|
|
string PluginName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the path of the parent directory of the plugin.
|
|
/// </summary>
|
|
string PluginPath { get; }
|
|
|
|
/// <summary>
|
|
/// Updates the plugin window.
|
|
/// </summary>
|
|
void UpdateWindow();
|
|
}
|
|
} |