diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-17 01:58:29 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-17 01:58:29 -0400 |
| commit | 4915da4cdd9bd7de3f67fa681e06585dbbcfafdb (patch) | |
| tree | c4464a09fd93f4a19a7095837920566735f86468 /MediaBrowser.Controller/Connect | |
| parent | 84244b8cacd86f7da8b587e04b577faea2101099 (diff) | |
sync updates
Diffstat (limited to 'MediaBrowser.Controller/Connect')
| -rw-r--r-- | MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs | 16 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Connect/IConnectManager.cs | 6 |
2 files changed, 22 insertions, 0 deletions
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<ConnectUser> Users { get; set; } + + public ConnectSupporterSummary() + { + Users = new List<ConnectUser>(); + } + } +} 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 /// <param name="token">The token.</param> /// <returns><c>true</c> if [is authorization token valid] [the specified token]; otherwise, <c>false</c>.</returns> bool IsAuthorizationTokenValid(string token); + + /// <summary> + /// Gets the connect supporter summary. + /// </summary> + /// <returns>Task<ConnectSupporterSummary>.</returns> + Task<ConnectSupporterSummary> GetConnectSupporterSummary(); } } |
