From 56280428418aadf5b9df2ff482aa01110c6e487a Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Tue, 6 Feb 2024 10:51:25 -0600 Subject: [PATCH] feat: move room aggregate interfaces back into Essentials --- .../Room/IEssentialsHuddleSpaceRoom.cs | 19 ++++++++++++++ .../Room/IEssentialsHuddleVtc1Room.cs | 25 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleSpaceRoom.cs create mode 100644 src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleVtc1Room.cs diff --git a/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleSpaceRoom.cs b/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleSpaceRoom.cs new file mode 100644 index 00000000..975c8661 --- /dev/null +++ b/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleSpaceRoom.cs @@ -0,0 +1,19 @@ +using System; +using PepperDash.Essentials.Core; + +namespace PDT.Plugins.Essentials.Rooms +{ + public interface IEssentialsHuddleSpaceRoom : IEssentialsRoom, IHasCurrentSourceInfoChange, IRunRouteAction, IHasDefaultDisplay, IHasCurrentVolumeControls, IRoomOccupancy, + IEmergency, IMicrophonePrivacy + { + bool ExcludeFromGlobalFunctions { get; } + + void RunRouteAction(string routeKey); + + // EssentialsHuddleRoomPropertiesConfig PropertiesConfig { get; } + + IBasicVolumeControls CurrentVolumeControls { get; } + + event EventHandler CurrentVolumeDeviceChange; + } +} \ No newline at end of file diff --git a/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleVtc1Room.cs b/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleVtc1Room.cs new file mode 100644 index 00000000..65e2e357 --- /dev/null +++ b/src/PepperDash.Essentials.Devices.Common/Room/IEssentialsHuddleVtc1Room.cs @@ -0,0 +1,25 @@ +using PepperDash.Essentials.Core; +using PepperDash.Essentials.Devices.Common.AudioCodec; +using PepperDash.Essentials.Devices.Common.Codec; +using PepperDash.Essentials.Devices.Common.VideoCodec; + +namespace PDT.Plugins.Essentials.Rooms +{ + public interface IEssentialsHuddleVtc1Room : IEssentialsRoom, IHasCurrentSourceInfoChange, IHasCurrentVolumeControls, IRunRouteAction, IRunDefaultCallRoute, IHasVideoCodec, IHasAudioCodec, IHasDefaultDisplay, IHasInCallFeedback, + IRoomOccupancy, IEmergency, IMicrophonePrivacy + { + // EssentialsHuddleVtc1PropertiesConfig PropertiesConfig { get; } + + bool ExcludeFromGlobalFunctions { get; } + + void RunRouteAction(string routeKey); + + IHasScheduleAwareness ScheduleSource { get; } + + new BoolFeedback InCallFeedback { get; } + + new BoolFeedback PrivacyModeIsOnFeedback { get; } + + string DefaultCodecRouteString { get; } + } +} \ No newline at end of file