add new web client sidebar

This commit is contained in:
Luke Pulverenti
2014-05-03 19:38:23 -04:00
parent ac2c1563d5
commit f031bb744b
9 changed files with 80 additions and 14 deletions

View File

@@ -61,6 +61,11 @@ namespace MediaBrowser.Controller.Channels
IEnumerable<ImageType> GetSupportedChannelImages();
}
public interface IChannelFactory
{
IEnumerable<IChannel> GetChannels();
}
public class ChannelInfo
{
/// <summary>

View File

@@ -13,7 +13,8 @@ namespace MediaBrowser.Controller.Channels
/// Adds the parts.
/// </summary>
/// <param name="channels">The channels.</param>
void AddParts(IEnumerable<IChannel> channels);
/// <param name="factories">The factories.</param>
void AddParts(IEnumerable<IChannel> channels, IEnumerable<IChannelFactory> factories);
/// <summary>
/// Gets the channels.