mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
refactor: Remove obsolete interfaces and classes to streamline the codebase
This commit is contained in:
parent
7076eafc21
commit
7bec96e68b
10 changed files with 9 additions and 383 deletions
|
|
@ -1,87 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Displays;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputHdmi1
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputHdmi1
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to HDMI 1 input
|
||||
/// </summary>
|
||||
void InputHdmi1();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputHdmi2
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputHdmi2
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to HDMI 2 input
|
||||
/// </summary>
|
||||
void InputHdmi2();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputHdmi3
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputHdmi3
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to HDMI 3 input
|
||||
/// </summary>
|
||||
void InputHdmi3();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputHdmi4
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputHdmi4
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to HDMI 4 input
|
||||
/// </summary>
|
||||
void InputHdmi4();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputDisplayPort1
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputDisplayPort1
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to DisplayPort 1 input
|
||||
/// </summary>
|
||||
void InputDisplayPort1();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputDisplayPort2
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputDisplayPort2
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to DisplayPort 2 input
|
||||
/// </summary>
|
||||
void InputDisplayPort2();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IInputVga1
|
||||
/// </summary>
|
||||
[Obsolete()]
|
||||
public interface IInputVga1
|
||||
{
|
||||
/// <summary>
|
||||
/// Switches to VGA 1 input
|
||||
/// </summary>
|
||||
void InputVga1();
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
using PepperDash.Essentials.Core;
|
||||
using PepperDash.Essentials.Room.Config;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Common.Room;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IEssentialsHuddleSpaceRoom
|
||||
/// </summary>
|
||||
public interface IEssentialsHuddleSpaceRoom : IEssentialsRoom, IHasCurrentSourceInfoChange, IRunRouteAction, IHasDefaultDisplay, IHasCurrentVolumeControls, IRoomOccupancy,
|
||||
IEmergency, IMicrophonePrivacy
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets whether to exclude this room from global functions
|
||||
/// </summary>
|
||||
bool ExcludeFromGlobalFunctions { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Runs the route action for the given routeKey and sourceListKey
|
||||
/// </summary>
|
||||
/// <param name="routeKey">The route key</param>
|
||||
void RunRouteAction(string routeKey);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the PropertiesConfig
|
||||
/// </summary>
|
||||
EssentialsHuddleRoomPropertiesConfig PropertiesConfig { get; }
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
using System;
|
||||
using PepperDash.Essentials.Core;
|
||||
using PepperDash.Essentials.Devices.Common.AudioCodec;
|
||||
using PepperDash.Essentials.Devices.Common.Codec;
|
||||
using PepperDash.Essentials.Devices.Common.VideoCodec;
|
||||
using PepperDash.Essentials.Room.Config;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Common.Room;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Defines the contract for IEssentialsHuddleVtc1Room
|
||||
/// </summary>
|
||||
[Obsolete("Obsolete in favor of IEssentialsRoom. This interface will be removed in a future release.")]
|
||||
public interface IEssentialsHuddleVtc1Room : IEssentialsRoom, IHasCurrentSourceInfoChange, IHasCurrentVolumeControls, IRunRouteAction, IRunDefaultCallRoute, IHasVideoCodec, IHasAudioCodec, IHasDefaultDisplay, IHasInCallFeedback,
|
||||
IRoomOccupancy, IEmergency, IMicrophonePrivacy
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the PropertiesConfig
|
||||
/// </summary>
|
||||
EssentialsHuddleVtc1PropertiesConfig PropertiesConfig { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether to exclude this room from global functions
|
||||
/// </summary>
|
||||
bool ExcludeFromGlobalFunctions { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Runs the route action for the given routeKey and sourceListKey
|
||||
/// </summary>
|
||||
/// <param name="routeKey">The route key</param>
|
||||
void RunRouteAction(string routeKey);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the ScheduleSource
|
||||
/// </summary>
|
||||
IHasScheduleAwareness ScheduleSource { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the InCallFeedback
|
||||
/// </summary>
|
||||
new BoolFeedback InCallFeedback { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the PrivacyModeIsOnFeedback
|
||||
/// </summary>
|
||||
new BoolFeedback PrivacyModeIsOnFeedback { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the DefaultCodecRouteString
|
||||
/// </summary>
|
||||
string DefaultCodecRouteString { get; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue