From 4915da4cdd9bd7de3f67fa681e06585dbbcfafdb Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 17 Mar 2015 01:58:29 -0400 Subject: sync updates --- .../Connect/ConnectSupporterSummary.cs | 16 ++++++++++++++++ MediaBrowser.Controller/Connect/IConnectManager.cs | 6 ++++++ MediaBrowser.Controller/MediaBrowser.Controller.csproj | 1 + 3 files changed, 23 insertions(+) create mode 100644 MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs new file mode 100644 index 000000000..47ff90e70 --- /dev/null +++ b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs @@ -0,0 +1,16 @@ +using MediaBrowser.Model.Connect; +using System.Collections.Generic; + +namespace MediaBrowser.Controller.Connect +{ + public class ConnectSupporterSummary + { + public int MaxUsers { get; set; } + public List Users { get; set; } + + public ConnectSupporterSummary() + { + Users = new List(); + } + } +} diff --git a/MediaBrowser.Controller/Connect/IConnectManager.cs b/MediaBrowser.Controller/Connect/IConnectManager.cs index a0ab1f9b6..4003d1bf2 100644 --- a/MediaBrowser.Controller/Connect/IConnectManager.cs +++ b/MediaBrowser.Controller/Connect/IConnectManager.cs @@ -69,5 +69,11 @@ namespace MediaBrowser.Controller.Connect /// The token. /// true if [is authorization token valid] [the specified token]; otherwise, false. bool IsAuthorizationTokenValid(string token); + + /// + /// Gets the connect supporter summary. + /// + /// Task<ConnectSupporterSummary>. + Task GetConnectSupporterSummary(); } } diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index 2a3e23d46..5b8c8d414 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -99,6 +99,7 @@ + -- cgit v1.2.3