using System;
using System.Windows.Controls;
namespace MassiveKnob.Plugin
{
///
/// Represents a connection to a Massive Knob device.
///
public interface IMassiveKnobDeviceInstance : IDisposable
{
///
/// Called right after this instance is created.
///
/// Provides an interface to the Massive Knob settings and device. Can be stored until the device instance is disposed.
void Initialize(IMassiveKnobDeviceContext context);
///
/// Called when a device 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 device.
///
UserControl CreateSettingsControl();
}
}