From 86624e92d3539db92934f280c9efdbda1448486b Mon Sep 17 00:00:00 2001
From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com>
Date: Tue, 9 Jun 2020 15:18:26 -0500
Subject: Finish addressing review comments
---
.../QuickConnectConfigurationFactory.cs | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Emby.Server.Implementations/QuickConnect/QuickConnectConfigurationFactory.cs
(limited to 'Emby.Server.Implementations/QuickConnect/QuickConnectConfigurationFactory.cs')
diff --git a/Emby.Server.Implementations/QuickConnect/QuickConnectConfigurationFactory.cs b/Emby.Server.Implementations/QuickConnect/QuickConnectConfigurationFactory.cs
new file mode 100644
index 000000000..d7bc84c5e
--- /dev/null
+++ b/Emby.Server.Implementations/QuickConnect/QuickConnectConfigurationFactory.cs
@@ -0,0 +1,27 @@
+using System.Collections.Generic;
+using MediaBrowser.Common.Configuration;
+
+namespace Emby.Server.Implementations.QuickConnect
+{
+ ///
+ /// Configuration factory for quick connect.
+ ///
+ public class QuickConnectConfigurationFactory : IConfigurationFactory
+ {
+ ///
+ /// Returns the current quick connect configuration.
+ ///
+ /// Current quick connect configuration.
+ public IEnumerable GetConfigurations()
+ {
+ return new[]
+ {
+ new ConfigurationStore
+ {
+ Key = "quickconnect",
+ ConfigurationType = typeof(QuickConnectConfiguration)
+ }
+ };
+ }
+ }
+}
--
cgit v1.2.3