Commit 4a843211 authored by Committed by hjk
Analyzer: create a run control factory for all tools.
Having one factory per tool (or plugin) created some bugs: * analyzer project settings being created twice * per-project analyzer settings widget duplicated Also, most of the code from the run control factory were copied. Now, the Analyzer only creates one run control factory shared among all tools, and the IAnalyzerTool has two new virtual method: canRun and createStartParameters. It simplify the code a bit, and creating a new analyzer tool is easier (only two classes to subclass: IAnalyzerTool and IAnalyzerEngine). Change-Id: I4e180846a26b74b2b77cb99bc97534d680a80a4d Reviewed-by: hjk <firstname.lastname@example.org>
Showing with 424 additions and 326 deletions
src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.h → src/plugins/analyzerbase/analyzerruncontrolfactory.h