diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-03 17:10:00 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-10 16:22:31 +0000 |
commit | 49fef0ae24b094874186163a767c019a3cde7b00 (patch) | |
tree | 91a931c4d6a7bd8bb7e1d2ddb4f147d993ea2d04 /src/plugins/projectexplorer/projectnodes.h | |
parent | 2fde3fffa96690e67d73d2aabda1ee92933ebdb2 (diff) |
ProjectExplorer: Create initial project tree
Create an initial project tree with a ProjectNode and a FileNode for
the project file itself.
Fix the Projects to not implement their own tree before they have
better data.
Change-Id: I147ccd5603d22d1d60880a97f30fd8c271eac88c
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r-- | src/plugins/projectexplorer/projectnodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index 6a9f3eb723..5d9a621557 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -38,6 +38,7 @@ namespace ProjectExplorer { class RunConfiguration; +class Project; enum class NodeType : quint16 { File = 1, @@ -293,6 +294,8 @@ protected: // this is just the in-memory representation, a subclass // will add the persistent stuff explicit ProjectNode(const Utils::FileName &projectFilePath); + + friend class Project; }; // Documentation inside. |