2021-02-21 14:04:24 +01:00
|
|
|
|
using System;
|
2021-02-28 11:55:23 +01:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
2021-02-21 14:04:24 +01:00
|
|
|
|
|
|
|
|
|
namespace MassiveKnob.Plugin
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Contains information about the device supported by this plugin.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMassiveKnobDevice
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Unique identifier for the device.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Guid DeviceId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the action as shown in the action list when assigning to a knob or button.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A short description of the functionality provided by the action.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Description { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Called when the device is selected.
|
|
|
|
|
/// </summary>
|
2021-02-28 11:55:23 +01:00
|
|
|
|
IMassiveKnobDeviceInstance Create(ILogger logger);
|
2021-02-21 14:04:24 +01:00
|
|
|
|
}
|
|
|
|
|
}
|