From 849675c5393bfbd0847ff96e66ba30bb84b9625c Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 12 Sep 2017 14:04:20 -0600 Subject: [PATCH] Updates to Video Codec Interfaces --- .../{IHasDialer.cs => CodecInterfaces.cs} | 20 +++++++++++++++++++ .../Devices/IHasSharing.cs | 4 +++- .../PepperDash_Essentials_Core.csproj | 2 +- .../VC/VideoCodecBase.cs | 8 +++++++- 4 files changed, 31 insertions(+), 3 deletions(-) rename Essentials Core/PepperDashEssentialsBase/Devices/{IHasDialer.cs => CodecInterfaces.cs} (65%) diff --git a/Essentials Core/PepperDashEssentialsBase/Devices/IHasDialer.cs b/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs similarity index 65% rename from Essentials Core/PepperDashEssentialsBase/Devices/IHasDialer.cs rename to Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs index c4682abd..e3399d00 100644 --- a/Essentials Core/PepperDashEssentialsBase/Devices/IHasDialer.cs +++ b/Essentials Core/PepperDashEssentialsBase/Devices/CodecInterfaces.cs @@ -18,8 +18,28 @@ namespace PepperDash.Essentials.Core void AcceptCall(); void RejectCall(); + void SendDtmf(); + BoolFeedback InCallFeedback { get; } BoolFeedback IncomingCallFeedback { get; } + + + } + + public interface IHasCallHistory + { + // Add recent calls list + } + + public interface IHasDirectory + { + + } + + public interface IHasObtp + { + + // Upcoming Meeting warning event } } \ No newline at end of file diff --git a/Essentials Core/PepperDashEssentialsBase/Devices/IHasSharing.cs b/Essentials Core/PepperDashEssentialsBase/Devices/IHasSharing.cs index 317a188a..675c11c3 100644 --- a/Essentials Core/PepperDashEssentialsBase/Devices/IHasSharing.cs +++ b/Essentials Core/PepperDashEssentialsBase/Devices/IHasSharing.cs @@ -11,7 +11,9 @@ namespace PepperDash.Essentials.Core /// public interface IHasSharing { + void StartSharing(); + void StopSharing(); - BoolFeedback SharingSourceFeedback { get; } + StringFeedback SharingSourceFeedback { get; } } } \ No newline at end of file diff --git a/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj b/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj index e06834ec..94e66af1 100644 --- a/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj +++ b/Essentials Core/PepperDashEssentialsBase/PepperDash_Essentials_Core.csproj @@ -103,7 +103,7 @@ - + diff --git a/Essentials Devices Common/Essentials Devices Common/VC/VideoCodecBase.cs b/Essentials Devices Common/Essentials Devices Common/VC/VideoCodecBase.cs index c0eddc21..75c0a67a 100644 --- a/Essentials Devices Common/Essentials Devices Common/VC/VideoCodecBase.cs +++ b/Essentials Devices Common/Essentials Devices Common/VC/VideoCodecBase.cs @@ -9,7 +9,7 @@ using PepperDash.Essentials.Core; namespace PepperDash.Essentials.Devices.VideoCodec { - public abstract class VideoCodecBase : Device, IRoutingSinkWithSwitching, IUsageTracking, IHasDialer //, ICodecAudio + public abstract class VideoCodecBase : Device, IRoutingSinkWithSwitching, IUsageTracking, IHasDialer, IHasSharing //, ICodecAudio { #region IUsageTracking Members @@ -101,5 +101,11 @@ namespace PepperDash.Essentials.Devices.VideoCodec public BoolFeedback PrivacyModeIsOnFeedback { get; private set; } #endregion + + #region IHasSharing Members + + public BoolFeedback SharingSourceFeedback { get; private set; } + + #endregion } } \ No newline at end of file