summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/artifact.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2012-11-29 14:26:39 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2012-11-29 14:52:23 +0100
commit1268926177367dc9bab31e031261cf3e234858d8 (patch)
treece6a68d4fb35ab580e577ef1a1b1fd5b50c2a4c0 /src/lib/buildgraph/artifact.h
parent29b924ed092ea6b0381fa5f731e9eb5f690a1878 (diff)
downloadqbs-1268926177367dc9bab31e031261cf3e234858d8.tar.gz
Slash more heads off the BuildGraph hydra.
This moves almost all state out of the class into more suitable places. The functionality left is: a) An engine wrapper that can be turned into a new dedicated class pretty much as-is. b) Static helper functions that do not naturally fit elsewhere. Change-Id: Ie3d79ecdcd58c02373fb852e9ff39659c0c4f07a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/artifact.h')
-rw-r--r--src/lib/buildgraph/artifact.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/buildgraph/artifact.h b/src/lib/buildgraph/artifact.h
index 31767e799..69c5eae1e 100644
--- a/src/lib/buildgraph/artifact.h
+++ b/src/lib/buildgraph/artifact.h
@@ -44,7 +44,6 @@ namespace Internal {
class BuildProduct;
class BuildProject;
-class Transformer;
/**
* The Artifact class
@@ -97,11 +96,15 @@ public:
const QString &filePath() const { return m_filePath; }
QString dirPath() const { return m_dirPath.toString(); }
QString fileName() const { return m_fileName.toString(); }
+ void disconnectAll();
private:
void load(PersistentPool &pool);
void store(PersistentPool &pool) const;
+ void disconnectChildren();
+ void disconnectParents();
+
private:
QString m_filePath;
QStringRef m_dirPath;