From ede39aee7e00c40a43b67ca18dd8ab80ee863d85 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 26 Aug 2025 23:59:38 -0400 Subject: [WARP] Enhanced network support --- plugins/warp/ui/matches.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugins/warp/ui/matches.h') diff --git a/plugins/warp/ui/matches.h b/plugins/warp/ui/matches.h index 251dcb89..88926add 100644 --- a/plugins/warp/ui/matches.h +++ b/plugins/warp/ui/matches.h @@ -4,6 +4,7 @@ #include "filter.h" #include "render.h" +#include "shared/fetcher.h" #include "shared/function.h" class WarpCurrentFunctionWidget : public QWidget @@ -18,21 +19,18 @@ class WarpCurrentFunctionWidget : public QWidget LoggerRef m_logger; - std::mutex m_requestMutex; - std::vector m_pendingRequests; - std::atomic m_requestInProgress {false}; - std::unordered_set m_processedFunctions; + std::shared_ptr m_fetcher; public: - explicit WarpCurrentFunctionWidget(FunctionRef current); + explicit WarpCurrentFunctionWidget(); ~WarpCurrentFunctionWidget() override = default; + void SetFetcher(std::shared_ptr fetcher); + void SetCurrentFunction(FunctionRef current); FunctionRef GetCurrentFunction() { return m_current; }; void UpdateMatches(); - - void ProcessPendingFetchRequests(); }; -- cgit v1.3.1