diff options
| author | Mason Reed <mason@vector35.com> | 2025-08-26 23:59:38 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-10-01 21:38:39 -0400 |
| commit | ede39aee7e00c40a43b67ca18dd8ab80ee863d85 (patch) | |
| tree | 67c5eda347ece2282e3c888f38066b496e06dec8 /plugins/warp/ui/matches.h | |
| parent | a1c46813e7f279aa4cfdb9dbb91c45b559ebeacd (diff) | |
[WARP] Enhanced network support
Diffstat (limited to 'plugins/warp/ui/matches.h')
| -rw-r--r-- | plugins/warp/ui/matches.h | 12 |
1 files changed, 5 insertions, 7 deletions
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<FunctionRef> m_pendingRequests; - std::atomic<bool> m_requestInProgress {false}; - std::unordered_set<uint64_t> m_processedFunctions; + std::shared_ptr<WarpFetcher> m_fetcher; public: - explicit WarpCurrentFunctionWidget(FunctionRef current); + explicit WarpCurrentFunctionWidget(); ~WarpCurrentFunctionWidget() override = default; + void SetFetcher(std::shared_ptr<WarpFetcher> fetcher); + void SetCurrentFunction(FunctionRef current); FunctionRef GetCurrentFunction() { return m_current; }; void UpdateMatches(); - - void ProcessPendingFetchRequests(); }; |
