diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-28 15:39:15 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-31 11:08:17 +0100 |
commit | 0d1b18c7ad5bbfe4507f33d5f726b46f39d08677 (patch) | |
tree | 270034545db1c5682dd50719402125ca1035090b /src/lib/corelib/api/project_p.h | |
parent | 29a977873bc2d8d46926de5f60d1e78da82fde74 (diff) |
Make information about commands available via the API.
Users can supply a file path and a tag, and
they will get the list of commands that are run
to create an output file with the given tag from
the given input file.
This information is needed by Qt Creator.
Change-Id: I36f92c200e78831733fccc4f7b5f54b8218d6311
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/api/project_p.h')
-rw-r--r-- | src/lib/corelib/api/project_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/corelib/api/project_p.h b/src/lib/corelib/api/project_p.h index 73f6e19ae..273f637e0 100644 --- a/src/lib/corelib/api/project_p.h +++ b/src/lib/corelib/api/project_p.h @@ -31,6 +31,7 @@ #define QBS_PROJECT_P_H #include "projectdata.h" +#include "rulecommand.h" #include <language/language.h> #include <logging/logger.h> @@ -105,6 +106,9 @@ public: const CodeLocation &changeLocation, int lineOffset); void prepareChangeToProject(); + RuleCommandList ruleCommands(const ProductData &product, + const QString &inputFilePath, const QString &outputFileTag) const; + TopLevelProjectPtr internalProject; Logger logger; |