From 9825cb3d11d95faadb109c7944eb20f6ca61f181 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Tue, 18 Feb 2025 11:09:44 +0100 Subject: Valgrind: Move controller functionality into CallgrindTool Move it outside of CallgrindToolRunner, as this functionality isn't really related to the RunWorker's subclass. Change-Id: Ib83a56667eb149513d6960ae84a2586501067e48 Reviewed-by: hjk --- src/plugins/valgrind/callgrindtool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/plugins/valgrind/callgrindtool.h') diff --git a/src/plugins/valgrind/callgrindtool.h b/src/plugins/valgrind/callgrindtool.h index 731eda1e972..81378989113 100644 --- a/src/plugins/valgrind/callgrindtool.h +++ b/src/plugins/valgrind/callgrindtool.h @@ -5,8 +5,18 @@ #include +namespace ProjectExplorer { class RunControl; } +namespace Utils { class FilePath; } + namespace Valgrind::Internal { +bool isPaused(); +QString fetchAndResetToggleCollectFunction(); +Utils::FilePath remoteOutputFile(); +void setupPid(qint64 pid); +void setupRunControl(ProjectExplorer::RunControl *runControl); +void startParser(); + void setupCallgrindTool(QObject *guard); } // Valgrind::Internal -- cgit v1.2.3