From 88f3b434b9986e64410b053de0735765f33c4092 Mon Sep 17 00:00:00 2001 From: Simon G Date: Thu, 8 Apr 2021 14:57:03 +0200 Subject: [PATCH] - add button config class --- Lib.Audio/DeviceButtonConfiguration.cs | 14 ++++++++++++++ Lib.Audio/Interfaces/IDeviceButtonConfiguration.cs | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 Lib.Audio/DeviceButtonConfiguration.cs create mode 100644 Lib.Audio/Interfaces/IDeviceButtonConfiguration.cs diff --git a/Lib.Audio/DeviceButtonConfiguration.cs b/Lib.Audio/DeviceButtonConfiguration.cs new file mode 100644 index 0000000..a98c776 --- /dev/null +++ b/Lib.Audio/DeviceButtonConfiguration.cs @@ -0,0 +1,14 @@ +// Author: Gockner, Simon +// Created: 2021-04-08 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +using Lib.Audio.Interfaces; + +namespace Lib.Audio +{ + public class DeviceButtonConfiguration : IDeviceButtonConfiguration + { + public int NumberOfButtons { get; set; } + public bool HasMuteButton { get; set; } + } +} \ No newline at end of file diff --git a/Lib.Audio/Interfaces/IDeviceButtonConfiguration.cs b/Lib.Audio/Interfaces/IDeviceButtonConfiguration.cs new file mode 100644 index 0000000..fac4b95 --- /dev/null +++ b/Lib.Audio/Interfaces/IDeviceButtonConfiguration.cs @@ -0,0 +1,12 @@ +// Author: Gockner, Simon +// Created: 2021-04-08 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +namespace Lib.Audio.Interfaces +{ + public interface IDeviceButtonConfiguration + { + int NumberOfButtons { get; set; } + bool HasMuteButton { get; set; } + } +} \ No newline at end of file