aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/api/project.h')
-rw-r--r--src/lib/corelib/api/project.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/corelib/api/project.h b/src/lib/corelib/api/project.h
index 50abb3614..d943a86d8 100644
--- a/src/lib/corelib/api/project.h
+++ b/src/lib/corelib/api/project.h
@@ -30,6 +30,7 @@
#ifndef QBS_PROJECT_H
#define QBS_PROJECT_H
+#include "rulecommand.h"
#include "../language/forward_decls.h"
#include "../tools/qbs_export.h"
@@ -125,6 +126,9 @@ public:
QSet<QString> buildSystemFiles() const;
+ RuleCommandList ruleCommands(const ProductData &product, const QString &inputFilePath,
+ const QString &outputFileTag, ErrorInfo *error = 0) const;
+
#ifdef QBS_ENABLE_PROJECT_FILE_UPDATES
ErrorInfo addGroup(const ProductData &product, const QString &groupName);
ErrorInfo addFiles(const ProductData &product, const GroupData &group,