aboutsummaryrefslogtreecommitdiff
path: root/Emby.Notifications/NotificationConfigurationFactory.cs
blob: 62258315ebcf31b35214de361e200285a1ccffba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System.Collections.Generic;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Model.Notifications;

namespace Emby.Notifications
{
    public class NotificationConfigurationFactory : IConfigurationFactory
    {
        public IEnumerable<ConfigurationStore> GetConfigurations()
        {
            return new ConfigurationStore[]
            {
                new ConfigurationStore
                {
                    Key = "notifications",
                    ConfigurationType = typeof (NotificationOptions)
                }
            };
        }
    }
}