aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-06 22:13:33 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-09-06 22:13:33 -0500
commitc6752e71c4278668409e1f9fe0f2be1ba816c900 (patch)
tree83c9c915e67c27e9b761df74a845f39cd5e76856 /src
parentc7f63e0468c0ca034986d8c72627f9a02040ba43 (diff)
downloadslskd-c6752e71c4278668409e1f9fe0f2be1ba816c900.tar.gz
add back ApplicationState
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application/Management/ManagementService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Application/Management/ManagementService.cs b/src/slskd/Application/Management/ManagementService.cs
index 07767e20..0aff7658 100644
--- a/src/slskd/Application/Management/ManagementService.cs
+++ b/src/slskd/Application/Management/ManagementService.cs
@@ -58,6 +58,11 @@ namespace slskd.Management
private ILogger Log { get; } = Serilog.Log.ForContext<ManagementService>();
/// <summary>
+ /// Gets the current state of the slskd service.
+ /// </summary>
+ public ApplicationState ApplicationState => ApplicationStateMonitor.CurrentValue;
+
+ /// <summary>
/// Gets the current state of the connection to the Soulseek server.
/// </summary>
public ServerState ServerState =>