jellyfin/MediaBrowser.Server.Implementations/Notifications/NotificationConfigurationFactory.cs

22 lines
620 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;
namespace MediaBrowser.Server.Implementations.Notifications
{
public class NotificationConfigurationFactory : IConfigurationFactory
{
public IEnumerable<ConfigurationStore> GetConfigurations()
{
return new List<ConfigurationStore>
{
new ConfigurationStore
{
Key = "notifications",
ConfigurationType = typeof (NotificationOptions)
}
};
}
}
}