aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application/IApplication.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-13 21:48:27 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-09-13 21:48:27 -0500
commitbae88b17b7bd8caf53d98c04bc45ed1f04f2be5b (patch)
treeb1192941d9e33b16737e8924d348ffcea05526b7 /src/slskd/Application/IApplication.cs
parent3c6e5be335c34bf9d4e24a20e7db4c7f50039f3c (diff)
downloadslskd-bae88b17b7bd8caf53d98c04bc45ed1f04f2be5b.tar.gz
reconfigure SoulseekClient on startup
Diffstat (limited to 'src/slskd/Application/IApplication.cs')
-rw-r--r--src/slskd/Application/IApplication.cs15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/slskd/Application/IApplication.cs b/src/slskd/Application/IApplication.cs
index 53391e56..8e9615c4 100644
--- a/src/slskd/Application/IApplication.cs
+++ b/src/slskd/Application/IApplication.cs
@@ -27,11 +27,22 @@ namespace slskd
public interface IApplication : IHostedService
{
+ /// <summary>
+ /// Sends an acknowledgement for the specified private message <paramref name="id"/>.
+ /// </summary>
+ /// <param name="id">The id of the private message to acknowledge.</param>
+ /// <returns>The operation context.</returns>
public Task AcknowledgePrivateMessageAsync(int id);
+ /// <summary>
+ /// Adds a the specified <paramref name="username"/> as a member of the specified private <paramref name="roomName"/>.
+ /// </summary>
+ /// <param name="roomName">The room to which to add the member.</param>
+ /// <param name="username">The username of the member to add.</param>
+ /// <returns>The operation context.</returns>
public Task AddPrivateRoomMemberAsync(string roomName, string username);
- public Task AddUserAsync(string username);
+ public Task<UserData> AddUserAsync(string username);
public Task<BrowseResponse> BrowseAsync(string username);
@@ -59,8 +70,6 @@ namespace slskd
public Task GrantUserPrivilegesAsync(string username, int days);
- public Task<RoomData> JoinRoomAsync(string roomName);
-
public Task LeaveRoomAsync(string roomName);
public Task RescanSharesAsync();