Improved the integration with file-explorer.

This commit is contained in:
Roberto Raggi
2009-03-12 11:50:32 +01:00
parent ccb98d1f53
commit 3eafefd2e0
2 changed files with 94 additions and 0 deletions

View File

@@ -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