1
0
mirror of synced 2024-11-05 09:49:16 +00:00
MassiveKnob/Windows/MassiveKnob.Plugin/IMassiveKnobActionInstance.cs

19 lines
637 B
C#
Raw Normal View History

using System;
using System.Windows.Controls;
namespace MassiveKnob.Plugin
{
/// <summary>
/// Base interface for actions assigned to a knob or button. Implement one of the descendant
/// interfaces to provide input or output.
/// </summary>
public interface IMassiveKnobActionInstance : IDisposable
{
/// <summary>
/// Called when an action should display it's settings. Assume the width is variable, height is
/// determined by the UserControl. Return null to indicate there are no settings for this action.
/// </summary>
UserControl CreateSettingsControl();
}
}