summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/buildgraphloader.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-07-30 10:18:40 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-01 11:10:12 +0200
commit1ce74f4c5e7d9e9ccb854c22fa8540ebcaded154 (patch)
tree9fd3169fbe0406501a6e80923a2661d1f7718471 /src/lib/buildgraph/buildgraphloader.h
parent7e547f8458c0305c33e4ee35b40fe6f480a2eff3 (diff)
downloadqbs-1ce74f4c5e7d9e9ccb854c22fa8540ebcaded154.tar.gz
move file dependencies to dedicated class
File dependencies are a very simple variant of artifact. We save space and structure the code more clearly by introducing the FileDependency class. Change-Id: I36b95794f9d6d3d739ea4836ebc831848a89de98 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraphloader.h')
-rw-r--r--src/lib/buildgraph/buildgraphloader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/buildgraph/buildgraphloader.h b/src/lib/buildgraph/buildgraphloader.h
index 86907cddc..31fe52cad 100644
--- a/src/lib/buildgraph/buildgraphloader.h
+++ b/src/lib/buildgraph/buildgraphloader.h
@@ -41,6 +41,7 @@ class SetupProjectParameters;
namespace Internal {
class ArtifactList;
+class FileDependency;
class FileTime;
class BuildGraphLoadResult
@@ -83,7 +84,8 @@ private:
void removeArtifactAndExclusiveDependents(Artifact *artifact,
ArtifactList *removedArtifacts = 0);
bool checkForPropertyChanges(const TransformerPtr &restoredTrafo, const ResolvedProductPtr &freshProduct);
- void replaceFileDependencyWithArtifact(Artifact *filedep, Artifact *artifact);
+ void replaceFileDependencyWithArtifact(const ResolvedProductPtr &fileDepProduct,
+ FileDependency *filedep, Artifact *artifact);
RulesEvaluationContextPtr m_evalContext;
BuildGraphLoadResult m_result;