forked from qt-creator/qt-creator
Improved the integration with file-explorer.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
#include <QStringList>
|
||||
#include <QHash>
|
||||
|
||||
namespace GenericProjectManager {
|
||||
namespace Internal {
|
||||
@@ -74,6 +75,10 @@ public:
|
||||
QStringList defines() const;
|
||||
QString toolChainId() const;
|
||||
|
||||
private:
|
||||
FolderNode *findOrCreateFolderByName(const QString &filePath);
|
||||
FolderNode *findOrCreateFolderByName(const QStringList &components, int end);
|
||||
|
||||
private:
|
||||
Core::IFile *_projectFile;
|
||||
QStringList _files;
|
||||
@@ -81,6 +86,8 @@ private:
|
||||
QStringList _includePaths;
|
||||
QStringList _defines;
|
||||
QString _toolChainId;
|
||||
|
||||
QHash<QString, FolderNode *> _folderByName;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user