From 6d4d92827664c0ca0d951b19b0a5cbdfd1d0cebb Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 13 Oct 2022 20:32:40 -0500 Subject: use all repositories to service lookups --- src/slskd/Shares/IShareService.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/slskd/Shares/IShareService.cs') diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 821ac20e..9d0ba487 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -36,7 +36,13 @@ namespace slskd.Shares /// /// Gets the state monitor for the service. /// - public IStateMonitor StateMonitor { get; } + IStateMonitor StateMonitor { get; } + + /// + /// Adds a new, or updates an existing, share host. + /// + /// The host to add or update. + void AddOrUpdateHost(Host host); /// /// Returns the entire contents of the share. -- cgit v1.2.3