Replaced the hardcoded QHash<QString, QString> with CppModelManagerInterface::WorkingCopy.

This commit is contained in:
Roberto Raggi
2009-12-15 15:16:46 +01:00
parent 730fd82ac8
commit b168eec2a1
4 changed files with 11 additions and 9 deletions

View File

@@ -78,13 +78,15 @@ public:
QStringList frameworkPaths;
};
typedef QHash<QString, QString> WorkingCopy;
public:
CppModelManagerInterface(QObject *parent = 0) : QObject(parent) {}
virtual ~CppModelManagerInterface() {}
static CppModelManagerInterface *instance();
virtual QHash<QString, QString> workingCopy() const = 0;
virtual WorkingCopy workingCopy() const = 0;
virtual CPlusPlus::Snapshot snapshot() const = 0;
virtual QList<ProjectInfo> projectInfos() const = 0;