Files
Torch/Torch.API/Plugins/IWpfPlugin.cs
2017-06-17 13:06:21 -07:00

19 lines
530 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace Torch.API.Plugins
{
public interface IWpfPlugin : ITorchPlugin
{
/// <summary>
/// Used by the server's WPF interface to load custom plugin controls.
/// You must instantiate your plugin's control object here, otherwise it will not be owned by the correct thread for WPF.
/// </summary>
UserControl GetControl();
}
}