summaryrefslogtreecommitdiff
path: root/src/plugins/nim/project/nimprojectnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nim/project/nimprojectnode.h')
-rw-r--r--src/plugins/nim/project/nimprojectnode.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/nim/project/nimprojectnode.h b/src/plugins/nim/project/nimprojectnode.h
index 6a950bdf4f..98ea5aeff1 100644
--- a/src/plugins/nim/project/nimprojectnode.h
+++ b/src/plugins/nim/project/nimprojectnode.h
@@ -31,21 +31,22 @@ namespace Utils { class FilePath; }
namespace Nim {
-class NimProject;
+class NimBuildSystem;
class NimProjectNode : public ProjectExplorer::ProjectNode
{
public:
- NimProjectNode(NimProject &project, const Utils::FilePath &projectFilePath);
+ NimProjectNode(const Utils::FilePath &projectFilePath);
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
bool addFiles(const QStringList &filePaths, QStringList *) override;
- bool removeFiles(const QStringList &filePaths, QStringList *) override;
+ ProjectExplorer::RemovedFilesFromProject removeFiles(const QStringList &filePaths,
+ QStringList *) override;
bool deleteFiles(const QStringList &) override;
bool renameFile(const QString &filePath, const QString &newFilePath) override;
private:
- NimProject &m_project;
+ NimBuildSystem *buildSystem() const;
};
}