mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 12:24:59 +00:00
27 lines
831 B
C#
27 lines
831 B
C#
using System;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
public delegate void InputChangedEventHandler(IRoutingSinkWithSwitching destination, RoutingInputPort currentPort);
|
|
|
|
/// <summary>
|
|
/// Endpoint device like a display, that selects inputs
|
|
/// </summary>
|
|
public interface IRoutingSinkWithSwitching : IRoutingSink
|
|
{
|
|
void ExecuteSwitch(object inputSelector);
|
|
}
|
|
|
|
public interface IRoutingSinkWithSwitchingWithInputPort:IRoutingSinkWithSwitching, IRoutingSinkWithInputPort
|
|
{
|
|
event InputChangedEventHandler InputChanged;
|
|
}
|
|
|
|
/* /// <summary>
|
|
/// Endpoint device like a display, that selects inputs
|
|
/// </summary>
|
|
public interface IRoutingSinkWithSwitching<TSelector> : IRoutingSink<TSelector>
|
|
{
|
|
void ExecuteSwitch(TSelector inputSelector);
|
|
}*/
|
|
} |