aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-03 03:35:00 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-03 03:35:00 -0400
commit0d5d91b4c4575271d16fe507a328fbcbb1510acd (patch)
tree5fab5b3a21bb60ba912026fae14a375586bb0df2 /Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs
parentb76a1abda578b8ff64bad2997b036b0fc43e264f (diff)
move notification classes
Diffstat (limited to 'Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs')
-rw-r--r--Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs b/Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs
new file mode 100644
index 000000000..a7c5b1233
--- /dev/null
+++ b/Emby.Server.Implementations/Notifications/NotificationConfigurationFactory.cs
@@ -0,0 +1,21 @@
+using MediaBrowser.Common.Configuration;
+using MediaBrowser.Model.Notifications;
+using System.Collections.Generic;
+
+namespace Emby.Server.Implementations.Notifications
+{
+ public class NotificationConfigurationFactory : IConfigurationFactory
+ {
+ public IEnumerable<ConfigurationStore> GetConfigurations()
+ {
+ return new List<ConfigurationStore>
+ {
+ new ConfigurationStore
+ {
+ Key = "notifications",
+ ConfigurationType = typeof (NotificationOptions)
+ }
+ };
+ }
+ }
+}