diff options
Diffstat (limited to 'Emby.Notifications/NotificationConfigurationFactory.cs')
| -rw-r--r-- | Emby.Notifications/NotificationConfigurationFactory.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Emby.Notifications/NotificationConfigurationFactory.cs b/Emby.Notifications/NotificationConfigurationFactory.cs new file mode 100644 index 000000000..2d464910e --- /dev/null +++ b/Emby.Notifications/NotificationConfigurationFactory.cs @@ -0,0 +1,21 @@ +using MediaBrowser.Common.Configuration; +using MediaBrowser.Model.Notifications; +using System.Collections.Generic; + +namespace Emby.Notifications +{ + public class NotificationConfigurationFactory : IConfigurationFactory + { + public IEnumerable<ConfigurationStore> GetConfigurations() + { + return new ConfigurationStore[] + { + new ConfigurationStore + { + Key = "notifications", + ConfigurationType = typeof (NotificationOptions) + } + }; + } + } +} |
