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