From bd2f385e563324405c36689f9bb1609455c4d3ec Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Thu, 21 Feb 2013 01:52:27 -0500 Subject: removed server reference from ui solution --- MediaBrowser.Controller/Kernel.cs | 4 ++-- .../MediaBrowser.Controller.csproj | 2 +- MediaBrowser.Controller/Playback/BaseIntroProvider.cs | 19 ------------------- MediaBrowser.Controller/Playback/IIntroProvider.cs | 19 +++++++++++++++++++ MediaBrowser.UI.sln | 14 -------------- 5 files changed, 22 insertions(+), 36 deletions(-) delete mode 100644 MediaBrowser.Controller/Playback/BaseIntroProvider.cs create mode 100644 MediaBrowser.Controller/Playback/IIntroProvider.cs diff --git a/MediaBrowser.Controller/Kernel.cs b/MediaBrowser.Controller/Kernel.cs index b4c553c66e..405eb1075d 100644 --- a/MediaBrowser.Controller/Kernel.cs +++ b/MediaBrowser.Controller/Kernel.cs @@ -187,8 +187,8 @@ namespace MediaBrowser.Controller /// Gets the intro providers. /// /// The intro providers. - [ImportMany(typeof(BaseIntroProvider))] - public IEnumerable IntroProviders { get; private set; } + [ImportMany(typeof(IIntroProvider))] + public IEnumerable IntroProviders { get; private set; } /// /// Gets the list of currently registered weather prvoiders diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index 58e1b3fb0a..4788772184 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -127,7 +127,7 @@ - + diff --git a/MediaBrowser.Controller/Playback/BaseIntroProvider.cs b/MediaBrowser.Controller/Playback/BaseIntroProvider.cs deleted file mode 100644 index 6e90baf3f3..0000000000 --- a/MediaBrowser.Controller/Playback/BaseIntroProvider.cs +++ /dev/null @@ -1,19 +0,0 @@ -using MediaBrowser.Controller.Entities; -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Playback -{ - /// - /// Class BaseIntroProvider - /// - public abstract class BaseIntroProvider - { - /// - /// Gets the intros. - /// - /// The item. - /// The user. - /// IEnumerable{System.String}. - public abstract IEnumerable GetIntros(BaseItem item, User user); - } -} diff --git a/MediaBrowser.Controller/Playback/IIntroProvider.cs b/MediaBrowser.Controller/Playback/IIntroProvider.cs new file mode 100644 index 0000000000..1f7d12fee9 --- /dev/null +++ b/MediaBrowser.Controller/Playback/IIntroProvider.cs @@ -0,0 +1,19 @@ +using MediaBrowser.Controller.Entities; +using System.Collections.Generic; + +namespace MediaBrowser.Controller.Playback +{ + /// + /// Class BaseIntroProvider + /// + public interface IIntroProvider + { + /// + /// Gets the intros. + /// + /// The item. + /// The user. + /// IEnumerable{System.String}. + IEnumerable GetIntros(BaseItem item, User user); + } +} diff --git a/MediaBrowser.UI.sln b/MediaBrowser.UI.sln index 06d1c5f8bb..2c8e43133b 100644 --- a/MediaBrowser.UI.sln +++ b/MediaBrowser.UI.sln @@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.ApiInteraction EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.DefaultTheme", "MediaBrowser.Plugins.DefaultTheme\MediaBrowser.Plugins.DefaultTheme.csproj", "{6E892999-711D-4E24-8BAC-DACF5BFA783A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Controller", "MediaBrowser.Controller\MediaBrowser.Controller.csproj", "{17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.MpcHc", "MediaBrowser.Plugins.MpcHc\MediaBrowser.Plugins.MpcHc.csproj", "{2E94BC08-A7A2-42DD-9893-EAA3DACD1CF9}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.Tmt5", "MediaBrowser.Plugins.Tmt5\MediaBrowser.Plugins.Tmt5.csproj", "{BE9BAA85-9EF2-4308-92E4-0D2B6E33C487}" @@ -93,18 +91,6 @@ Global {6E892999-711D-4E24-8BAC-DACF5BFA783A}.Release|Mixed Platforms.Build.0 = Release|Any CPU {6E892999-711D-4E24-8BAC-DACF5BFA783A}.Release|x86.ActiveCfg = Release|Any CPU {6E892999-711D-4E24-8BAC-DACF5BFA783A}.Release|x86.Build.0 = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|x86.ActiveCfg = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|x86.Build.0 = Debug|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Any CPU.Build.0 = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|x86.ActiveCfg = Release|Any CPU - {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|x86.Build.0 = Release|Any CPU {2E94BC08-A7A2-42DD-9893-EAA3DACD1CF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2E94BC08-A7A2-42DD-9893-EAA3DACD1CF9}.Debug|Any CPU.Build.0 = Debug|Any CPU {2E94BC08-A7A2-42DD-9893-EAA3DACD1CF9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU -- cgit v1.2.3