jellyfin/Emby.Notifications/NotificationConfigurationFactory.cs

22 lines
585 B
C#
Raw Normal View History

2014-07-02 20:34:08 +02:00
using MediaBrowser.Common.Configuration;
using MediaBrowser.Model.Notifications;
using System.Collections.Generic;
2018-09-12 19:26:21 +02:00
namespace Emby.Notifications
2014-07-02 20:34:08 +02:00
{
public class NotificationConfigurationFactory : IConfigurationFactory
{
public IEnumerable<ConfigurationStore> GetConfigurations()
{
2018-09-12 19:26:21 +02:00
return new ConfigurationStore[]
2014-07-02 20:34:08 +02:00
{
new ConfigurationStore
{
Key = "notifications",
ConfigurationType = typeof (NotificationOptions)
}
};
}
}
}