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