diff --git a/src/PepperDash.Essentials.Core/Routing/IRoutingSinkWithFeedback.cs b/src/PepperDash.Essentials.Core/Routing/IRoutingSinkWithFeedback.cs new file mode 100644 index 00000000..c7e99746 --- /dev/null +++ b/src/PepperDash.Essentials.Core/Routing/IRoutingSinkWithFeedback.cs @@ -0,0 +1,26 @@ +using PepperDash.Essentials.Core.Routing; +using System; +using System.Collections.Generic; + +namespace PepperDash.Essentials.Core +{ + /// + /// For fixed-source endpoint devices + /// + public interface IRoutingSinkWithFeedback : IRoutingSinkWithSwitching + { + RouteSwitchDescriptor CurrentRoute { get; } + + event EventHandler InputChanged; + } + +/* /// + /// For fixed-source endpoint devices + /// + public interface IRoutingSinkWithFeedback : IRoutingSinkWithSwitching + { + RouteSwitchDescriptor CurrentRoute { get; } + + event EventHandler InputChanged; + }*/ +} \ No newline at end of file diff --git a/src/PepperDash.Essentials.Core/Routing/IRoutingWithFeedback.cs b/src/PepperDash.Essentials.Core/Routing/IRoutingWithFeedback.cs new file mode 100644 index 00000000..c4abf0c6 --- /dev/null +++ b/src/PepperDash.Essentials.Core/Routing/IRoutingWithFeedback.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System; + +namespace PepperDash.Essentials.Core +{ + /// + /// Defines an IRouting with a feedback event + /// + public interface IRoutingWithFeedback : IRouting + { + List CurrentRoutes { get; } + + event EventHandler RoutingChanged; + } +} \ No newline at end of file