aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-17 11:57:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-17 11:57:06 -0400
commitd9d295251cb7ff95173e81db55408adc8de17eab (patch)
tree76ae751bd3d2c3150d034dc3bcf2f27bc00218af /MediaBrowser.Controller
parent8b89d0b020c5cf060158007ba55d4dd4d62e0ebf (diff)
support adding connect user
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs3
-rw-r--r--MediaBrowser.Controller/Connect/IConnectManager.cs7
2 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs
index 47ff90e70..20eef0521 100644
--- a/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs
+++ b/MediaBrowser.Controller/Connect/ConnectSupporterSummary.cs
@@ -1,5 +1,6 @@
using MediaBrowser.Model.Connect;
using System.Collections.Generic;
+using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Connect
{
@@ -7,10 +8,12 @@ namespace MediaBrowser.Controller.Connect
{
public int MaxUsers { get; set; }
public List<ConnectUser> Users { get; set; }
+ public List<UserDto> EligibleUsers { get; set; }
public ConnectSupporterSummary()
{
Users = new List<ConnectUser>();
+ EligibleUsers = new List<UserDto>();
}
}
}
diff --git a/MediaBrowser.Controller/Connect/IConnectManager.cs b/MediaBrowser.Controller/Connect/IConnectManager.cs
index e745f3df3..7eecf6ebf 100644
--- a/MediaBrowser.Controller/Connect/IConnectManager.cs
+++ b/MediaBrowser.Controller/Connect/IConnectManager.cs
@@ -82,5 +82,12 @@ namespace MediaBrowser.Controller.Connect
/// <param name="id">The identifier.</param>
/// <returns>Task.</returns>
Task RemoveConnectSupporter(string id);
+
+ /// <summary>
+ /// Adds the connect supporter.
+ /// </summary>
+ /// <param name="id">The identifier.</param>
+ /// <returns>Task.</returns>
+ Task AddConnectSupporter(string id);
}
}